| 1 |
/// <reference types="react" /> |
| 2 |
export interface TabsContextProps { |
| 3 |
variant: 'default' | 'secondary'; |
| 4 |
mountOnEnter: boolean; |
| 5 |
unmountOnExit: boolean; |
| 6 |
localActiveKey: string | number; |
| 7 |
uniqueId: string; |
| 8 |
setAccentStyles?: (shouldInitializeStyles?: boolean) => void; |
| 9 |
handleTabClick: (event: React.MouseEvent<HTMLElement, MouseEvent>, eventKey: number | string, tabContentRef: React.RefObject<any>) => void; |
| 10 |
handleTabClose?: (event: React.MouseEvent<HTMLElement, MouseEvent>, eventKey: number | string, tabContentRef?: React.RefObject<any>) => void; |
| 11 |
} |
| 12 |
export declare const TabsContext: import("react").Context<TabsContextProps>; |
| 13 |
export declare const TabsContextProvider: import("react").Provider<TabsContextProps>; |
| 14 |
export declare const TabsContextConsumer: import("react").Consumer<TabsContextProps>; |
| 15 |
//# sourceMappingURL=TabsContext.d.ts.map |