import * as React from 'react'; import { TabInitialState } from 'reakit/Tab'; import TabsButton from './button/TabsButton'; import TabsButtonList from './buttonList/TabsButtonList'; import TabsPanelList from './panelList/TabsPanelList'; import TabsPanel from './panel/TabsPanel'; import { BoxProps } from '../box'; type SubComponents = { Button: typeof TabsButton; ButtonList: typeof TabsButtonList; Panel: typeof TabsPanel; PanelList: typeof TabsPanelList; }; export interface TabsProps extends Pick, Omit { readonly onChange?: (tabId: string) => void; } declare const Tabs: React.FC & SubComponents; export default Tabs;