Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | import {
Box,
Table as ChakraTable,
Thead,
Tbody,
Tfoot,
Tr,
Th,
Td,
TableCaption,
} from "@chakra-ui/react";
import { FunctionComponent } from "react";
const Table: FunctionComponent = ({ children }) => (
<Box maxW="100%" overflowX="auto">
<ChakraTable variant="striped">{children}</ChakraTable>
</Box>
);
export { Table, Tfoot, Tbody, Td, Thead, Tr, Th, TableCaption };
|