UNPKG

@teste-ui/table

Version:

Table component for React and Chakra UI

43 lines 2.12 kB
import { HTMLChakraProps, ThemingProps } from "@teste-ui/system"; export declare const useTableStyles: () => import("@teste-ui/utils").Dict<import("@teste-ui/system").CSSObject>; export interface TableContainerProps extends HTMLChakraProps<"div"> { } export declare const TableContainer: import("@teste-ui/system").ComponentWithAs<"div", TableContainerProps>; export interface TableProps extends HTMLChakraProps<"table">, ThemingProps<"Table"> { } export declare const Table: import("@teste-ui/system").ComponentWithAs<"table", TableProps>; export interface TableCaptionProps extends HTMLChakraProps<"caption"> { /** * The placement of the table caption. This sets the `caption-side` CSS attribute. * @default "bottom" */ placement?: "top" | "bottom"; } export declare const TableCaption: import("@teste-ui/system").ComponentWithAs<"caption", TableCaptionProps>; export interface TableHeadProps extends HTMLChakraProps<"thead"> { } export declare const Thead: import("@teste-ui/system").ComponentWithAs<"thead", TableHeadProps>; export interface TableBodyProps extends HTMLChakraProps<"tbody"> { } export declare const Tbody: import("@teste-ui/system").ComponentWithAs<"tbody", TableBodyProps>; export interface TableFooterProps extends HTMLChakraProps<"tfoot"> { } export declare const Tfoot: import("@teste-ui/system").ComponentWithAs<"tfoot", TableFooterProps>; export interface TableColumnHeaderProps extends HTMLChakraProps<"th"> { /** * Aligns the cell content to the right */ isNumeric?: boolean; } export declare const Th: import("@teste-ui/system").ComponentWithAs<"th", TableColumnHeaderProps>; export interface TableRowProps extends HTMLChakraProps<"tr"> { } export declare const Tr: import("@teste-ui/system").ComponentWithAs<"tr", TableRowProps>; export interface TableCellProps extends HTMLChakraProps<"td"> { /** * Aligns the cell content to the right */ isNumeric?: boolean; } export declare const Td: import("@teste-ui/system").ComponentWithAs<"td", TableCellProps>; //# sourceMappingURL=table.d.ts.map