import { useTranslation } from 'react-i18next'; import { Select, SelectProps } from '/@/shared/components/select/select'; export interface YesNoSelectProps extends Omit { onChange: (e?: boolean) => void; value?: boolean; } export const YesNoSelect = ({ onChange, value, ...props }: YesNoSelectProps) => { const { t } = useTranslation(); return (