chore: deprecate material/Box
This commit is contained in:
parent
92ccd8cb92
commit
7b983d820d
30 changed files with 312 additions and 384 deletions
|
|
@ -1,4 +1,3 @@
|
|||
import Box from '@mui/material/Box'
|
||||
import { makeStyles } from '@mui/styles'
|
||||
import classnames from 'classnames'
|
||||
import * as R from 'ramda'
|
||||
|
|
@ -146,7 +145,7 @@ const DataTable = ({
|
|||
}
|
||||
|
||||
return (
|
||||
<Box display="flex" flex="1" flexDirection="column">
|
||||
<div className="flex flex-1 flex-col">
|
||||
<Table className={classes.table}>
|
||||
<THead>
|
||||
{elements.map(({ width, className, textAlign, header }, idx) => (
|
||||
|
|
@ -181,7 +180,7 @@ const DataTable = ({
|
|||
</AutoSizer>
|
||||
</TBody>
|
||||
</Table>
|
||||
</Box>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue