Files
universal_is/client/src/components/CardInfo/CardInfoLabel.tsx

23 lines
496 B
TypeScript

import { Text } from "@fluentui/react-components";
interface CardInfoLabelProps {
label: string;
value: string | number;
}
export default function CardInfoLabel({
label,
value
}: CardInfoLabelProps) {
return (
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>
<Text>
{label}
</Text>
<Text weight='semibold'>
{value}
</Text>
</div>
)
}