import { BackyardBaseProps } from '../utils/typings/BackyardProps';
import type { BDSForwardRef } from '../utils/typings/BDSComponentProps';
/**
* Corresponding html '
' tag of the Backyard Design System's table component.
* Used with TableRow, TableCell, TableHeader, TableHeader and TableBody to build out various tables.
*
* ex.
*
*
*
* Column 1
* Column 2
* Column 3
*
*
*
*
* Data 1.1
* Data 1.2
* Data 1.3
*
*
* Data 2.1
* Data 2.2
* Data 2.3
*
*
*
*
* ex.
*
*
* Header 1
* Data 1
*
*
* Header 2
* Data 2
*
*
*/
declare const Table: BDSForwardRef;
declare type TableRef = HTMLTableElement;
interface TableProps extends BackyardBaseProps {
/**
* Shape of the table edges
*/
shape?: 'rounded' | 'squared';
/**
* Toggle on and off right rule
*/
rightRule?: boolean | 'true' | 'false';
/**
* Show & hide the th background color
*/
variant?: 'filled' | 'outlined';
}
export { Table };
export type { TableProps, TableRef };
export default Table;