import React from "react"; import { TabsProps } from "./Tabs.types"; import Tab, { TabProps } from "./parts/tab/Tab"; import TabList, { TabListProps } from "./parts/tablist/TabList"; import TabPanel, { TabPanelProps } from "./parts/tabpanel/TabPanel"; interface TabsComponent extends React.ForwardRefExoticComponent> { /** * @see 🏷️ {@link TabProps} * @see [🤖 OverridableComponent](https://aksel.nav.no/grunnleggende/kode/overridablecomponent) support */ Tab: typeof Tab; /** * @see 🏷️ {@link TabListProps} */ List: typeof TabList; /** * @see 🏷️ {@link TabPanelProps} */ Panel: typeof TabPanel; } /** * A component that displays a set of tabs that can be used to switch between different views. * * @see [📝 Documentation](https://aksel.nav.no/komponenter/core/tabs) * @see 🏷️ {@link TabsProps} * * @example * ```jsx * * * * * * * * Logg-tab * * * Inbox-tab * * * Sendt-tab * * * ``` */ export declare const Tabs: TabsComponent; export default Tabs; export { Tab as TabsTab, TabList as TabsList, TabPanel as TabsPanel }; export type { TabsProps, TabProps as TabsTabProps, TabListProps as TabsListProps, TabPanelProps as TabsPanelProps, };