import cn from '@/utils/classnames' import { useFieldContext } from '../..' import PureSelect from '../../../select/pure' import Label from '../label' type SelectOption = { value: string label: string } type SelectFieldProps = { label: string options: SelectOption[] isRequired?: boolean showOptional?: boolean tooltip?: string className?: string labelClassName?: string } const SelectField = ({ label, options, isRequired, showOptional, tooltip, className, labelClassName, }: SelectFieldProps) => { const field = useFieldContext() return (
) } export default SelectField