chore: use proper name convention for build tools
This commit is contained in:
parent
62f39f3561
commit
d646aee24b
283 changed files with 353 additions and 422 deletions
23
new-lamassu-admin/src/components/table/Table.jsx
Normal file
23
new-lamassu-admin/src/components/table/Table.jsx
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import { makeStyles } from '@material-ui/core/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)}>
|
||||
{children}
|
||||
</table>
|
||||
)
|
||||
})
|
||||
|
||||
export default Table
|
||||
Loading…
Add table
Add a link
Reference in a new issue