Files
GhomandArchie 291dcf9515 Merge pull request #10575 from Arturlang/TGUIs_Nexties
[TESTMERGE] Properly working TGUI Next
2021-01-04 19:47:54 -03:00

20 lines
361 B
JavaScript

import { Box } from './Box';
export const Dimmer = props => {
const { style, ...rest } = props;
return (
<Box
style={{
position: 'absolute',
top: 0,
bottom: 0,
left: 0,
right: 0,
'background-color': 'rgba(0, 0, 0, 0.75)',
'z-index': 1,
...style,
}}
{...rest} />
);
};