From d540961568eb11f08a02bc15c4e04bdc26753a6d Mon Sep 17 00:00:00 2001 From: SKairinos Date: Thu, 27 Jun 2024 16:26:39 +0000 Subject: [PATCH] fix section --- src/components/page/Section.tsx | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/src/components/page/Section.tsx b/src/components/page/Section.tsx index 38ad79f0..238ea970 100644 --- a/src/components/page/Section.tsx +++ b/src/components/page/Section.tsx @@ -1,10 +1,21 @@ -import { Container, type ContainerProps } from "@mui/material" +import { + Box, + Container, + type BoxProps, + type ContainerProps, +} from "@mui/material" import type { FC } from "react" -export interface SectionProps extends ContainerProps {} +export interface SectionProps extends ContainerProps { + boxProps?: Omit +} -const Section: FC = containerProps => { - return +const Section: FC = ({ boxProps, ...containerProps }) => { + return ( + + + + ) } export default Section