import { BoxProps, Tab, TabList, TabPanels, TabPanel, ChakraComponent } from '@chakra-ui/react'; import { default as React } from 'react'; export interface TabsDataProps { label: string; content: string | React.ReactNode; } export interface TabsProps extends Omit { /** The index of the tab to display on the initial render. */ defaultIndex?: number; /** The callback function invoked after every tab change event. The argument passed to the callback is the index of the tab just selected. */ onChange?: (index: number) => any; /** Array of data to display */ tabsData?: TabsDataProps[]; /** Render a hash in the url for each tab. Only available when data is * passed through the `data` props. */ useHash?: boolean; } /** * Renders Chakra's `Tab` component with specific variants, props, * and controlled styling. */ export declare const Tabs: ChakraComponent & React.RefAttributes>, React.PropsWithChildren>; export { TabList, Tab, TabPanels, TabPanel }; export default Tabs;