Initial commit
This commit is contained in:
12
src/components/Layout/MainPanel.js
Normal file
12
src/components/Layout/MainPanel.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Box, useStyleConfig } from '@chakra-ui/react';
|
||||
function MainPanel(props) {
|
||||
const { variant, children, ...rest } = props;
|
||||
const styles = useStyleConfig('MainPanel', { variant });
|
||||
return (
|
||||
<Box __css={styles} minH='100vh' {...rest}>
|
||||
{children}
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
|
||||
export default MainPanel;
|
||||
Reference in New Issue
Block a user