import * as React from "react"; import { BoxProps } from "../Box/index"; import { IInput } from "../Input"; import { PseudoBoxProps } from "../PseudoBox"; import { Omit, Merge } from "../common-types"; type SelectAttributes = Omit< React.SelectHTMLAttributes, "size" | "disabled" | "required" | "defaultChecked" >; type MergeSelectAttributes = Merge< Omit, SelectAttributes >; export type ISelect = IInput & MergeSelectAttributes & React.RefAttributes; export type SelectProps = ISelect & { /** * The props passed to the select's root element. * * The internal structure looks like this: * * ```jsx * * *