import { forwardRef, type ReactNode, type SelectHTMLAttributes } from "react" export interface SWSelectOption { value: string /** Shown text. Default `value`. */ label?: string disabled?: boolean } export interface SWSelectProps extends Omit, "value" | "defaultValue" | "onChange"> { /** Controlled value. */ value?: string /** Uncontrolled initial value. */ defaultValue?: string /** Options as data. `children` (`