feat: add expandable table, new icons

This commit is contained in:
Luis Félix 2019-11-21 18:16:38 +00:00 committed by Josh Harvey
parent af450f651a
commit 7042bbe089
116 changed files with 1545 additions and 19 deletions

View file

@ -106,6 +106,12 @@ const Td = ({ children, header, className, size = 100, textAlign }) => {
)
}
const Th = ({ children, ...props }) => {
return (
<Td header {...props}>{children}</Td>
)
}
const Tr = ({ error, errorMessage, children, className }) => {
const classes = useStyles()
const cardClasses = { root: classes.cardContentRoot }
@ -136,4 +142,4 @@ const EditCell = ({ save, cancel }) => (
</Td>
)
export { Table, THead, TBody, Tr, Td, EditCell }
export { Table, THead, TBody, Tr, Td, Th, EditCell }