feat: move componentsto ui directory

This commit is contained in:
amhsirak
2025-01-09 19:49:20 +05:30
parent 31a5e44de1
commit aca84da432
23 changed files with 19 additions and 19 deletions

25
src/components/ui/Box.tsx Normal file
View File

@@ -0,0 +1,25 @@
import * as React from 'react';
import Box from '@mui/material/Box';
interface BoxProps {
width: number | string,
height: number | string,
background: string,
radius: string,
children?: JSX.Element,
};
export const SimpleBox = ({ width, height, background, radius, children }: BoxProps) => {
return (
<Box
sx={{
width: width,
height: height,
backgroundColor: background,
borderRadius: radius,
}}
>
{children}
</Box>
);
}