// Type definitions for react-sidebar 2.2 // Project: https://github.com/balloob/react-sidebar#readme // Definitions by: Jeroen Vervaeke // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.1 import { Component } from "react"; export interface SidebarProps { contentClassName?: string; docked?: boolean; dragToggleDistance?: number; onSetOpen?: () => {}; open?: boolean; overlayClassName?: string; pullRight?: boolean; rootClassName?: string; shadow?: boolean; sidebar?: any; sidebarClassName?: string; styles?: SidebarStyles; transitions?: boolean; touch?: boolean; touchHandleWidth?: number; } export interface SidebarStyles { content?: Partial; dragHandle?: Partial; overlay?: Partial; root?: Partial; sidebar?: Partial; } export default class Sidebar extends Component {}