UNPKG

@olleemilsson/flowbite-react

Version:

<div align="center"> <h1>:construction: flowbite-react (unreleased) :construction:</h1> <p> <a href="https://flowbite-react.com"> <img alt="Flowbite - Tailwind CSS components" width="350" src=".github/assets/flowbite-react-github.png"> <

39 lines (38 loc) 1.07 kB
import type { ComponentProps, FC, PropsWithChildren } from 'react'; import type { FlowbiteBoolean } from '../Flowbite/FlowbiteTheme'; import type { TabItemProps } from './TabItem'; export interface FlowbiteTabTheme { base: string; tablist: { base: string; styles: TabStyles; tabitem: { base: string; styles: TabStyleItem<TabStyles>; icon: string; }; }; tabpanel: string; } export interface TabStyles { default: string; underline: string; pills: string; fullWidth: string; } export interface TabStyleItemProps { base: string; active: FlowbiteBoolean; } export declare type TabStyleItem<Type> = { [K in keyof Type]: TabStyleItemProps; }; export declare type TabItemStatus = 'active' | 'notActive'; export interface TabsProps extends PropsWithChildren<Omit<ComponentProps<'div'>, 'style'>> { style?: keyof TabStyles; } export declare const TabsComponent: FC<TabsProps>; export declare const Tabs: { Group: FC<TabsProps>; Item: FC<TabItemProps>; };