mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-19 16:06:02 +01:00
refactor(web/menu): list menu component split
This commit is contained in:
13
web/src/features/menu/list/Header.tsx
Normal file
13
web/src/features/menu/list/Header.tsx
Normal 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;
|
||||
Reference in New Issue
Block a user