@amsterdam/design-system-react
Version:
All React components from the Amsterdam Design System. Use it to compose pages in your website or application.
12 lines (11 loc) • 332 B
TypeScript
/**
* @license EUPL-1.2+
* Copyright Gemeente Amsterdam
*/
export type TabsContextValue = {
/** The identifier of the active Tab. */
activeTabId?: string;
/** A function to update the active Tab. */
updateTab: (tab: string) => void;
};
export declare const TabsContext: import("react").Context<TabsContextValue>;