mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-04 01:18:20 +02:00
19 lines
467 B
TypeScript
19 lines
467 B
TypeScript
import { forwardRef } from 'react';
|
|
import { Paper, PaperProps } from '@mui/material';
|
|
import { useStyles } from './TableContainer.styles';
|
|
|
|
/**
|
|
* @deprecated
|
|
*/
|
|
export const TableContainer = forwardRef<HTMLDivElement, PaperProps>(
|
|
({ children, ...props }, ref) => {
|
|
const { classes } = useStyles();
|
|
|
|
return (
|
|
<Paper ref={ref} className={classes.panel} {...props}>
|
|
{children}
|
|
</Paper>
|
|
);
|
|
}
|
|
);
|