mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-01 22:21:51 +00:00
17 lines
370 B
TypeScript
17 lines
370 B
TypeScript
import React from 'react';
|
|
import { Box, Center } from '@chakra-ui/react';
|
|
|
|
const MainContent: React.FC = ({ children }) => {
|
|
return (
|
|
<>
|
|
<Center h="95%" alignItems="stretch">
|
|
<Box h="100%" w="50%" backgroundColor="#1B2129" flex="1" overflowY="scroll">
|
|
{children}
|
|
</Box>
|
|
</Center>
|
|
</>
|
|
);
|
|
};
|
|
|
|
export default MainContent;
|