mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-09 04:02:40 -05:00
18 lines
382 B
TypeScript
18 lines
382 B
TypeScript
import { Box, BoxProps } from "@chakra-ui/react";
|
|
import { useMyTheme } from "lib/useMyTheme";
|
|
|
|
const Section: React.FC<BoxProps> = (props) => {
|
|
const { secondaryBgColor } = useMyTheme();
|
|
return (
|
|
<Box
|
|
bg={secondaryBgColor}
|
|
boxShadow="0px 0px 16px 6px rgba(0,0,0,0.1)"
|
|
p="1.5rem"
|
|
rounded="lg"
|
|
{...props}
|
|
/>
|
|
);
|
|
};
|
|
|
|
export default Section;
|