| 1 |
/// <reference types="react" /> |
| 2 |
export interface PageContextProps { |
| 3 |
isManagedSidebar: boolean; |
| 4 |
onSidebarToggle: () => void; |
| 5 |
isSidebarOpen: boolean; |
| 6 |
isMobile: boolean; |
| 7 |
width: number; |
| 8 |
height: number; |
| 9 |
getBreakpoint: (width: number | null) => 'default' | 'sm' | 'md' | 'lg' | 'xl' | '2xl'; |
| 10 |
getVerticalBreakpoint: (height: number | null) => 'default' | 'sm' | 'md' | 'lg' | 'xl' | '2xl'; |
| 11 |
} |
| 12 |
export declare const pageContextDefaults: PageContextProps; |
| 13 |
export declare const PageContext: import("react").Context<PageContextProps>; |
| 14 |
export declare const PageContextProvider: import("react").Provider<PageContextProps>; |
| 15 |
export declare const PageContextConsumer: import("react").Consumer<PageContextProps>; |
| 16 |
//# sourceMappingURL=PageContext.d.ts.map |