File: PageContext.d.ts

package info (click to toggle)
cockpit 355-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 311,568 kB
  • sloc: javascript: 774,787; python: 40,655; ansic: 35,157; cpp: 11,141; sh: 3,512; makefile: 580; xml: 261
file content (15 lines) | stat: -rw-r--r-- 744 bytes parent folder | download | duplicates (22)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/// <reference types="react" />
export interface PageContextProps {
    isManagedSidebar: boolean;
    onSidebarToggle: () => void;
    isSidebarOpen: boolean;
    width: number;
    height: number;
    getBreakpoint: (width: number | null) => 'default' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
    getVerticalBreakpoint: (height: number | null) => 'default' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
}
export declare const pageContextDefaults: PageContextProps;
export declare const PageContext: import("react").Context<PageContextProps>;
export declare const PageContextProvider: import("react").Provider<PageContextProps>;
export declare const PageContextConsumer: import("react").Consumer<PageContextProps>;
//# sourceMappingURL=PageContext.d.ts.map