import { IDrawerProps } from '../drawer'; import { SidebarClasses } from './sidebar-classes'; export interface ISidebarProps extends Omit { /** * temporary flag to turn on new expand/collapse functionality * @default false * */ useNewCollapse?: boolean; /** * Sets collapsed to controlled. You will need to also pass onCollapseChange to handle any changes */ collapsed?: boolean; /** * Set Navigation starting collapsed state. Allows using external initial value while keeping it uncontrolled. */ defaultCollapsed?: boolean; classes?: Partial; onCollapseChange?(collapsed: boolean): void; labels?: { expand?: string; collapse?: string; }; }