refactor(web/menu): list menu component split

This commit is contained in:
Luke
2022-07-27 20:22:45 +02:00
committed by Luke
parent 933acd2852
commit 98b9e224ef
3 changed files with 72 additions and 35 deletions

View File

@@ -0,0 +1,13 @@
import { Box, Text } from "@chakra-ui/react";
const Header: React.FC<{ title: string }> = ({ title }) => {
return (
<Box p={3} textAlign="center" borderTopLeftRadius="md" borderTopRightRadius="md" bg="#25262B">
<Text fontSize={24} textTransform="uppercase" fontWeight={300} fontFamily="Poppins">
{title}
</Text>
</Box>
);
};
export default Header;