partial: second batch of components
This commit is contained in:
parent
8cd7374ee8
commit
9f4bf1de7b
35 changed files with 616 additions and 1044 deletions
|
|
@ -1,20 +1,14 @@
|
|||
import { makeStyles } from '@mui/styles'
|
||||
import classnames from 'classnames'
|
||||
import React, { memo } from 'react'
|
||||
|
||||
const useStyles = makeStyles({
|
||||
table: {
|
||||
// backgroundColor: tableHeaderColor,
|
||||
tableLayout: 'fixed',
|
||||
borderCollapse: 'separate',
|
||||
borderSpacing: '0 0'
|
||||
}
|
||||
})
|
||||
|
||||
const Table = memo(({ className, children, ...props }) => {
|
||||
const classes = useStyles()
|
||||
return (
|
||||
<table {...props} className={classnames(classes.table, className)}>
|
||||
<table
|
||||
{...props}
|
||||
className={classnames(
|
||||
'table-fixed border-separate border-spacing-0',
|
||||
className
|
||||
)}>
|
||||
{children}
|
||||
</table>
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue