feat: add expandable table, new icons
This commit is contained in:
parent
af450f651a
commit
7042bbe089
116 changed files with 1545 additions and 19 deletions
|
|
@ -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 }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue