import { SimpleGrid, Text, Box } from '@mantine/core'; import dayjs from 'dayjs'; import type { Employee } from '../../../api/types'; const font = "'Montserrat', Arial, sans-serif"; const charcoal = '#58595b'; const MARITAL_LABELS: Record = { casatorit: 'Căsătorit', necasatorit: 'Necăsătorit', divortat: 'Divorțat', vaduv: 'Văduv', }; const SCIENTIFIC_LABELS: Record = { doctor: 'Doctor', doctor_habilitat: 'Doctor habilitat', }; function Field({ label, value }: { label: string; value?: string | null }) { return ( {label} {value ?? '—'} ); } interface Props { employee: Employee; } export function PersonalTab({ employee }: Props) { return ( {employee.numeAnterior && } {employee.recomandareInterna && ( )} ); }