/** * A reference wrapper around `react-select` that satisfies the * `SelectProps` contract, so it can be passed to JsonEditor's * `Select` prop to replace the built-in native onChange((opt as Option | null)?.value ?? '')} onKeyDown={onKeyDown} autoFocus={autoFocus} placeholder={placeholder} name={name} className={className} {...valueProps} /> ) }