UNPKG

@amsterdam/design-system-react

Version:

All React components from the Amsterdam Design System. Use it to compose pages in your website or application.

17 lines (16 loc) 524 B
/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ export type TabsContextValue = { /** The identifier of the active tab. */ activeTabId?: string; /** * The generated identifier for the entire Tabs component. * This lets you have several Tabs components, possibly with the same tabs, on one page. */ tabsId: string; /** A function to update the active tab. */ updateTab: (tab: string) => void; }; export declare const TabsContext: import("react").Context<TabsContextValue>;