VMS-frontend/src/shared/components/grid.aps/ProfileRow.tsx
NlightN22 ece046d2fd init
2024-02-17 22:57:32 +07:00

23 lines
543 B
TypeScript

import { Grid, Flex, Text } from '@mantine/core';
import React from 'react';
import { strings } from '../../strings/strings';
interface ProfileRowProps {
name?: string
value?: string
}
const ProfileRow = ({ name, value }: ProfileRowProps) => {
return (
<>
<Grid.Col span={6}>
<Text fz='md'>{name}</Text>
</Grid.Col>
<Grid.Col span={6}>
<Text align='center' fz='md'>{value}</Text>
</Grid.Col>
</>
);
};
export default ProfileRow;