@cerberus-design/react
Version:
The Cerberus Design React component library.
27 lines (26 loc) • 710 B
TypeScript
import { ElementType } from 'react';
import { TabsPartsValue } from './parts';
/**
* This module contains an abstraction of the Tabs family.
* @module 'tabs'
*/
interface TabsValueProps extends Omit<TabsPartsValue, 'Trigger' | 'Content' | 'Indicator'> {
/**
* A named component for the TabsTrigger.
*/
Tab: ElementType;
/**
* A named component for the TabsContent.
*/
Panel: ElementType;
}
/**
* An Object containing the abstracted parts of the Tabs component.
*
* @remarks
*
* When using object component syntax, you import the TabsParts object and
* the entire family of components vs. only what you use.
*/
export declare const Tabs: TabsValueProps;
export {};