UNPKG

704 BTypeScriptView Raw
1import * as React from 'react';
2export interface SidebarProps extends React.HTMLProps<HTMLDivElement> {
3 children?: React.ReactNode;
4 /** Indicates the direction of the layout. Default orientation is stack on small screens, and split on medium screens and above. */
5 orientation?: 'stack' | 'split';
6 /** Indicates that the panel is displayed to the right of the content when the oritentation is split. */
7 isPanelRight?: boolean;
8 /** Adds space between the panel and content. */
9 hasGutter?: boolean;
10 /** Removes the background color. */
11 hasNoBackground?: boolean;
12}
13export declare const Sidebar: React.FunctionComponent<SidebarProps>;
14//# sourceMappingURL=Sidebar.d.ts.map
\No newline at end of file