@postenbring/hedwig-react
Version:
React components for [Hedwig Design System](https://github.com/bring/hedwig-design-system).
24 lines • 900 B
TypeScript
interface TableProps extends React.HTMLAttributes<HTMLTableElement> {
className?: string;
/**
* Size of the table
*
* Use `compressed` for a more compact table, or `mobile-compressed` for a compact table on mobile screens only.
*/
size?: "default" | "compressed" | "mobile-compressed";
/**
* The table caption
*
* You can also set this by passing `<caption>` as a first child of the table
*/
caption?: React.ReactNode;
/**
* Optional description of the table displayed underneath the table
*
* Ensures the `aria-describedby` attribute is set on the table, making it accessible for screen readers.
*/
description?: React.ReactNode;
}
export declare const Table: import("react").ForwardRefExoticComponent<TableProps & import("react").RefAttributes<HTMLTableElement>>;
export {};
//# sourceMappingURL=table.d.ts.map