import React from "react"; import { TabsContentProps } from "@radix-ui/react-tabs"; import { CommonProps } from "@contentful/f36-core"; //#region src/Tabs.d.ts interface TabsProps extends CommonProps { children?: React.ReactNode; defaultTab?: string; currentTab?: string; onTabChange?: (tab: string) => void; } declare const Tabs$1: React.ForwardRefExoticComponent>; //#endregion //#region src/Tab.d.ts interface TabProps extends CommonProps { /** * A unique id that associates the tab with a panel. */ panelId: string; /** * When true, prevents the user from interacting with the tab. */ isDisabled?: boolean; children: React.ReactNode; } export declare const Tab: React.ForwardRefExoticComponent>; //#endregion //#region src/TabPanel.d.ts interface TabPanelProps extends CommonProps, Pick { id: string; children: React.ReactNode; } export declare const TabPanel: React.ForwardRefExoticComponent>; //#endregion //#region src/TabList.d.ts interface TabListProps extends CommonProps { /** * visual variant of TabList */ variant?: 'default' | 'horizontal-divider' | 'vertical-divider'; /** * When true, keyboard navigation will loop from last tab to first, and vice versa. * @default true */ loop?: boolean; children?: React.ReactNode; } export declare const TabList: React.ForwardRefExoticComponent>; //#endregion //#region src/CompoundTabs.d.ts type CompoundTabs = typeof Tabs$1 & { Panel: typeof TabPanel; Tab: typeof Tab; List: typeof TabList; }; export declare const Tabs: CompoundTabs; //#endregion export type { TabListProps, TabPanelProps, TabProps, TabsProps }; //# sourceMappingURL=index.d.ts.map