partial: second batch of components

This commit is contained in:
Rafael Taranto 2025-05-08 16:22:10 +01:00
parent 8cd7374ee8
commit 9f4bf1de7b
35 changed files with 616 additions and 1044 deletions

View file

@ -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>
)