// https://github.com/chakra-ui/chakra-ui/issues/135#issuecomment-644878591
import { Box, BoxProps } from "@chakra-ui/react";
import { useMyTheme } from "hooks/common";
/**
* Represents tabular data - that is, information presented in a
* two-dimensional table comprised of rows and columns of cells containing
* data. It renders a `
` HTML element.
*/
export function Table(props: BoxProps) {
return (
);
}
/**
* Defines a set of rows defining the head of the columns of the table. It
* renders a `` HTML element.
*/
export function TableHead(props: BoxProps) {
return ;
}
/**
* Defines a row of cells in a table. The row's cells can then be established
* using a mix of `TableCell` and `TableHeader` elements. It renders a ``
* HTML element.
*/
export function TableRow(props: BoxProps) {
const { bgColor } = useMyTheme();
return (
);
}
export function TableHeader(props: BoxProps) {
const { themeColorHex: themeColor } = useMyTheme();
return (
<>
>
);
}
/**
* Encapsulates a set of table rows, indicating that they comprise the body of
* the table. It renders a `
` HTML element.
*/
export function TableBody(props: BoxProps) {
return ;
}
/**
* Defines a cell of a table that contains data. It renders a `` HTML
* element.
*/
export function TableCell(props: BoxProps) {
return (
);
}
|