import {EmploymentStatus, EMPLOYMENT_STATUS} from "@/interfaces/user"; import {RadioGroup} from "@headlessui/react"; import clsx from "clsx"; interface Props { value?: EmploymentStatus; onChange: (value?: EmploymentStatus) => void; } export default function EmploymentStatusInput({value, onChange}: Props) { return (
{EMPLOYMENT_STATUS.map(({status, label}) => ( {({checked}) => ( {label} )} ))}
); }