import * as React from 'react'; export interface TabsContextProps { variant: 'default' | 'secondary'; mountOnEnter: boolean; unmountOnExit: boolean; localActiveKey: string | number; uniqueId: string; handleTabClick: ( event: React.MouseEvent, eventKey: number | string, tabContentRef: React.RefObject ) => void; handleTabClose?: ( event: React.MouseEvent, eventKey: number | string, tabContentRef?: React.RefObject ) => void; } export const TabsContext = React.createContext({ variant: 'default', mountOnEnter: false, unmountOnExit: false, localActiveKey: '', uniqueId: '', handleTabClick: () => null, handleTabClose: undefined }); export const TabsContextProvider = TabsContext.Provider; export const TabsContextConsumer = TabsContext.Consumer;