Files
explore/ui/shared/layout/components/Container.tsx
T

18 lines
382 B
TypeScript

import { Box, chakra } from '@chakra-ui/react';
import React from 'react';
interface Props {
children: React.ReactNode;
className?: string;
}
const Container = ({ children, className }: Props) => {
return (
<Box className={ className } minWidth={{ base: '100vw', lg: 'fit-content' }}>
{ children }
</Box>
);
};
export default React.memo(chakra(Container));