import type { SelectHTMLAttributes } from 'react'; import { forwardRef } from 'react'; import classNames from 'classnames'; import { defaultFormElement } from '../../utils/shared'; export interface SelectProps extends SelectHTMLAttributes { hasError?: boolean; className?: string; value?: string | number; children?: React.ReactNode; } export const Select = forwardRef( ({ className, hasError, ...props }, ref) => (