import React from "react"; import "./tabs.scss"; export type TabsProps = React.PropsWithChildren<{ activeTabIndex?: number; onTabChange?: (activeTabIndex: number) => void; }>; /** * A tabs component meant to allow for cycling through different content sections. Allows for passing custom react nodes as content for each tab. * @param tabs * @param onTabChange * @param activeTabIndex - The index of the currently active tab. If not provided, the component will manage its own state. * @param props * @constructor */ export declare const Tabs: React.FC; export type TabProps = React.PropsWithChildren<{ label: string; id?: string; }>; /** * A tab component meant to be used as a child of the Tabs component. It is used to define the label and content of a tab. * @param label - The label of the tab * @param id - The id of the tab * @param children - The content of the tab */ export declare const Tab: React.FC;