Drop @mui, addded ems api

This commit is contained in:
cracklesparkle
2024-11-15 17:00:23 +09:00
parent f51835584d
commit a4513e7e7a
29 changed files with 1026 additions and 721 deletions

View File

@ -1,4 +1,4 @@
import { Box, Typography } from '@mui/material'
import { Flex, Text } from '@mantine/core';
interface CardInfoLabelProps {
label: string;
value: string | number;
@ -9,14 +9,14 @@ export default function CardInfoLabel({
value
}: CardInfoLabelProps) {
return (
<Box sx={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>
<Typography>
<Flex justify='space-between' align='center'>
<Text>
{label}
</Typography>
</Text>
<Typography variant="h6" fontWeight={600}>
<Text fw={600}>
{value}
</Typography>
</Box>
</Text>
</Flex>
)
}