import clsx from 'clsx'; import { ServiceTypeOption, ServiceType } from '../types'; type Props = { serviceTypeOptions: ServiceTypeOption[]; selectedServiceType: ServiceType; setSelectedServiceType: (serviceTypeValue: ServiceType) => void; }; export function ServiceTabs({ serviceTypeOptions, selectedServiceType, setSelectedServiceType, }: Props) { return (
{serviceTypeOptions.map(({ label }, index) => ( ))}
); }