UNPKG

2.89 kBTypeScriptView Raw
1import { type HTMLChakraProps, type SlotRecipeProps, type SystemStyleObject, type UnstyledProp } from "../../styled-system";
2declare const useTableStyles: () => Record<string, SystemStyleObject>;
3export { useTableStyles };
4export interface TableRootBaseProps extends SlotRecipeProps<"table">, UnstyledProp {
5}
6export interface TableRootProps extends HTMLChakraProps<"table", TableRootBaseProps> {
7 /**
8 * If `true`, the table will style its descendants with nested selectors
9 */
10 native?: boolean;
11}
12export declare const TableRoot: import("react").ForwardRefExoticComponent<TableRootProps & import("react").RefAttributes<HTMLTableElement>>;
13export declare const TableRootPropsProvider: React.Provider<TableRootBaseProps>;
14export interface TableRowProps extends HTMLChakraProps<"tr"> {
15}
16export declare const TableRow: import("react").ForwardRefExoticComponent<TableRowProps & import("react").RefAttributes<HTMLTableRowElement>>;
17export interface TableScrollAreaProps extends HTMLChakraProps<"div"> {
18}
19export declare const TableScrollArea: import("../..").ChakraComponent<"div", {}>;
20export interface TableHeaderProps extends HTMLChakraProps<"thead"> {
21}
22export declare const TableHeader: import("react").ForwardRefExoticComponent<TableHeaderProps & import("react").RefAttributes<HTMLTableSectionElement>>;
23export interface TableFooterProps extends HTMLChakraProps<"tfoot"> {
24}
25export declare const TableFooter: import("react").ForwardRefExoticComponent<TableFooterProps & import("react").RefAttributes<HTMLTableSectionElement>>;
26export interface TableColumnHeaderProps extends HTMLChakraProps<"th"> {
27}
28export declare const TableColumnHeader: import("react").ForwardRefExoticComponent<TableColumnHeaderProps & import("react").RefAttributes<HTMLTableCellElement>>;
29export interface TableCellProps extends HTMLChakraProps<"td"> {
30}
31export declare const TableCell: import("react").ForwardRefExoticComponent<TableCellProps & import("react").RefAttributes<HTMLTableCellElement>>;
32export interface TableCaptionProps extends HTMLChakraProps<"caption"> {
33}
34export declare const TableCaption: import("react").ForwardRefExoticComponent<TableCaptionProps & import("react").RefAttributes<HTMLTableCaptionElement>>;
35export interface TableBodyProps extends HTMLChakraProps<"tbody"> {
36}
37export declare const TableBody: import("react").ForwardRefExoticComponent<TableBodyProps & import("react").RefAttributes<HTMLTableSectionElement>>;
38export interface TableColumnGroupProps extends HTMLChakraProps<"colgroup"> {
39}
40export declare const TableColumnGroup: import("react").ForwardRefExoticComponent<TableColumnGroupProps & import("react").RefAttributes<HTMLTableColElement>>;
41export interface TableColumnProps extends HTMLChakraProps<"col"> {
42}
43export declare const TableColumn: import("react").ForwardRefExoticComponent<TableColumnProps & import("react").RefAttributes<HTMLTableColElement>>;