File: TabsContext.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-- 868 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 TabsContextProps {
    variant: 'default' | 'secondary';
    mountOnEnter: boolean;
    unmountOnExit: boolean;
    localActiveKey: string | number;
    uniqueId: string;
    setAccentStyles?: (shouldInitializeStyles?: boolean) => void;
    handleTabClick: (event: React.MouseEvent<HTMLElement, MouseEvent>, eventKey: number | string, tabContentRef: React.RefObject<any>) => void;
    handleTabClose?: (event: React.MouseEvent<HTMLElement, MouseEvent>, eventKey: number | string, tabContentRef?: React.RefObject<any>) => void;
}
export declare const TabsContext: import("react").Context<TabsContextProps>;
export declare const TabsContextProvider: import("react").Provider<TabsContextProps>;
export declare const TabsContextConsumer: import("react").Consumer<TabsContextProps>;
//# sourceMappingURL=TabsContext.d.ts.map