Input Group
Input wrapper with prefix/suffix addon slots for icons and buttons.
Generado a partir del código fuente público del paquete.
API
Inputcomponente
Input(props: InputProps): Element
Propiedades
class?stringdefaultValue?string— Default value (uncontrolled).disabled?booleanid?string— Element id for label association.invalid?booleanname?string— Form field name.onBlur?EventHandler<HTMLInputElement, FocusEvent>— Native blur event handler.onFocus?EventHandler<HTMLInputElement, FocusEvent>— Native focus event handler.onInput?EventHandler<HTMLInputElement, InputEvent>— Native input event handler.onValueChange?(value: string) => void— Called when the value changes.placeholder?string— Input placeholder text.readOnly?booleanrequired?booleanstyle?string | CSSPropertiestype?"number" | "text" | "email" | "password" | "search" | "tel" | "url"— HTML input type.value?string— Current input value (controlled).
InputGroupRootPropsinterfaz
Propiedades
class?stringdisabled?booleaninvalid?booleanstyle?string | CSSProperties
hijos: Element
InputPropsinterfaz
Propiedades
class?stringdefaultValue?string— Default value (uncontrolled).disabled?booleanid?string— Element id for label association.invalid?booleanname?string— Form field name.onBlur?EventHandler<HTMLInputElement, FocusEvent>— Native blur event handler.onFocus?EventHandler<HTMLInputElement, FocusEvent>— Native focus event handler.onInput?EventHandler<HTMLInputElement, InputEvent>— Native input event handler.onValueChange?(value: string) => void— Called when the value changes.placeholder?string— Input placeholder text.readOnly?booleanrequired?booleanstyle?string | CSSPropertiestype?"number" | "text" | "email" | "password" | "search" | "tel" | "url"— HTML input type.value?string— Current input value (controlled).
Prefixcomponente
Prefix(props: PrefixProps): Element
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
PrefixPropsinterfaz
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
Rootcomponente
Root(props: InputGroupRootProps): Element
Propiedades
class?stringdisabled?booleaninvalid?booleanstyle?string | CSSProperties
hijos: Element
Suffixcomponente
Suffix(props: SuffixProps): Element
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
SuffixPropsinterfaz
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element