import * as React from 'react'; import { UseFormRegisterReturn } from 'react-hook-form'; import { cn } from '@/utils/cn'; import { FieldWrapper, FieldWrapperPassThroughProps } from './field-wrapper'; type Option = { label: React.ReactNode; value: string | number | string[]; }; type SelectFieldProps = FieldWrapperPassThroughProps & { options: Option[]; className?: string; defaultValue?: string; registration: Partial; }; export const Select = (props: SelectFieldProps) => { const { label, options, error, className, defaultValue, registration } = props; return ( ); };