mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
18 lines
374 B
JavaScript
18 lines
374 B
JavaScript
/**
|
|
* @file
|
|
* @copyright 2020 Aleksej Komarov
|
|
* @license MIT
|
|
*/
|
|
|
|
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>
|
|
);
|
|
};
|