import classNames from 'classnames' import { SelectHTMLAttributes } from 'react' import { getShortcuts, ShortcutMap } from '~/utils/usePlatform' import { preventDefaultInputEnterKey } from '~/utils/preventDefaultInputEnter' export interface IVSelectOption { value: string label: string disabled?: boolean shortcuts?: string | ShortcutMap } export interface IVSelectProps extends SelectHTMLAttributes { options: IVSelectOption[] defaultLabel?: string } export default function IVSelect(props: IVSelectProps) { const { className, options, defaultLabel = '', ...rest } = props return ( ) }