BetaBeta pública — Consulta las notas de lanzamiento
Documentación

Input Group

Input wrapper with prefix/suffix addon slots for icons and buttons.

Paquete
@solidiom/input-group
Versión
0.6.0
Estado
experimental

Generado a partir del código fuente público del paquete.

API

Inputcomponente

                        Input(props: InputProps): Element
                      

Propiedades

class?
string
defaultValue?
string — Default value (uncontrolled).
disabled?
boolean
id?
string — Element id for label association.
invalid?
boolean
name?
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?
boolean
required?
boolean
style?
string | CSSProperties
type?
"number" | "text" | "email" | "password" | "search" | "tel" | "url" — HTML input type.
value?
string — Current input value (controlled).

Ver código fuente

InputGroupRootPropsinterfaz

Propiedades

class?
string
disabled?
boolean
invalid?
boolean
style?
string | CSSProperties

hijos: Element

Ver código fuente

InputPropsinterfaz

Propiedades

class?
string
defaultValue?
string — Default value (uncontrolled).
disabled?
boolean
id?
string — Element id for label association.
invalid?
boolean
name?
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?
boolean
required?
boolean
style?
string | CSSProperties
type?
"number" | "text" | "email" | "password" | "search" | "tel" | "url" — HTML input type.
value?
string — Current input value (controlled).

Ver código fuente

Prefixcomponente

                        Prefix(props: PrefixProps): Element
                      

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

PrefixPropsinterfaz

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

Rootcomponente

                        Root(props: InputGroupRootProps): Element
                      

Propiedades

class?
string
disabled?
boolean
invalid?
boolean
style?
string | CSSProperties

hijos: Element

Ver código fuente

Suffixcomponente

                        Suffix(props: SuffixProps): Element
                      

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

SuffixPropsinterfaz

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente