UNPKG

603 BTypeScriptView Raw
1import * as React from 'react';
2import { ButtonProps } from '../../components/Button';
3export interface PageToggleButtonProps extends ButtonProps {
4 /** Content of the page toggle button */
5 children?: React.ReactNode;
6 /** True if the side nav is shown */
7 isNavOpen?: boolean;
8 /** Callback function to handle the side nav toggle button, managed by the Page component if the Page isManagedSidebar prop is set to true */
9 onNavToggle?: () => void;
10}
11export declare const PageToggleButton: React.FunctionComponent<PageToggleButtonProps>;
12//# sourceMappingURL=PageToggleButton.d.ts.map
\No newline at end of file