@cerberus-design/react
Version:
The Cerberus Design React component library.
58 lines (57 loc) • 1.21 kB
TypeScript
import { ElementType } from 'react';
/**
* This module contains the parts of the Table parts.
* @module 'table/parts'
*/
export interface TablePartsValue {
/**
* The container of the table.
*/
Root: ElementType;
/**
* The table element.
*/
Table: ElementType;
/**
* The table caption element.
*/
Caption: ElementType;
/**
* The table head element.
*/
Header: ElementType;
/**
* The table header cell element.
*/
HeaderCol: ElementType;
/**
* The table body element.
*/
Body: ElementType;
/**
* The table row element.
*/
Row: ElementType;
/**
* The table cell element.
*/
Cell: ElementType;
/**
* The table footer element.
*/
Footer: ElementType;
/**
* The table trigger element.
*/
Trigger: ElementType;
}
/**
* An Object containing the parts of the Table component. For users that
* prefer Object component syntax.
*
* @remarks
*
* When using object component syntax, you import the TableParts object and
* the entire family of components vs. only what you use.
*/
export declare const TableParts: TablePartsValue;