UNPKG

@fchh/fcos-suite-ui

Version:

Reusable UI components based on React and TailwindCSS for the Fab City OS Suite (initially funded by the Interfacer EU project).

22 lines (21 loc) 601 B
import { default as React } from 'react'; import { ITabItem } from '../interfaces/ITab'; type BaseProps = { className?: string; }; type ChildrenProps = { children?: React.ReactNode; entries?: never; }; type EntriesProps = { children?: never; entries?: ITabItem[]; }; export type TabsProps = BaseProps & (ChildrenProps | EntriesProps); export declare function Tabs({ children, entries, className }: TabsProps): import("react/jsx-runtime").JSX.Element; interface TabProps { children: React.ReactNode; label: string; } export declare const Tab: React.FC<TabProps>; export {};