mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 09:54:52 +00:00
19 lines
356 B
JavaScript
19 lines
356 B
JavaScript
import { classes } from 'common/react';
|
|
import { Box } from './Box';
|
|
|
|
export const Dimmer = props => {
|
|
const { className, children, ...rest } = props;
|
|
return (
|
|
<Box
|
|
className={classes([
|
|
'Dimmer',
|
|
...className,
|
|
])}
|
|
{...rest}>
|
|
<div className="Dimmer__inner">
|
|
{children}
|
|
</div>
|
|
</Box>
|
|
);
|
|
};
|