UNPKG

@clubmed/trident-ui

Version:

Shared ClubMed React UI components

13 lines (12 loc) 434 B
import type { ComponentProps, FunctionComponent, PropsWithChildren } from 'react'; import { TabsProvider } from './context/TabControl'; type ProviderProps = ComponentProps<typeof TabsProvider>; interface Props extends ProviderProps { className?: string; /** * Shrink the spacing between tabs and panels */ compacted?: boolean; } export declare const Tabs: FunctionComponent<PropsWithChildren<Props>>; export {};