import {ServiceService} from "../../../../client";
import {FC} from "react";
import BaseEnumSelect, {EnumSelectProps} from "../../../../components/Selects/BaseEnumSelect/BaseEnumSelect.tsx";


const ServiceTypeSelect: FC<EnumSelectProps> = (props: EnumSelectProps) => {
    return (
        <BaseEnumSelect
            {...props}
            fetchFn={ServiceService.getAllServiceTypes}
            queryKey='getAllServiceTypes'
        />
    )
}
export default ServiceTypeSelect;