@cerberus-design/react
Version:
The Cerberus Design React component library.
25 lines (24 loc) • 715 B
TypeScript
import { TablePartsValue } from './parts';
import { TableRootProps } from './primitives';
export interface TableRootElProps extends TableRootProps {
/**
* An easy to understand description of the table. Required for accessibility.
*/
caption: string;
/**
* If true, the table header will be sticky.
*
* @default false
*/
sticky?: boolean;
}
/**
* 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 Table: Omit<TablePartsValue, 'Table'>;