Drop @mui, addded ems api
This commit is contained in:
@ -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>
|
||||
)
|
||||
}
|
Reference in New Issue
Block a user