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

Field

Composition wrapper: label + control + description + error with automatic ARIA wiring.

Paquete
@solidiom/field
Versión
0.0.1-next.0
Estado
stable

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

API

Controlcomponente

                        Control(props: FieldControlProps): Element
                      

hijos: (controlProps: () => Record<string, string | boolean | undefined>) => Element

Ver código fuente

Descriptioncomponente

                        Description(props: FieldDescriptionProps): Element
                      

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

Errorcomponente

                        Error(props: FieldErrorProps): Element
                      

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

FieldControlPropsinterfaz

hijos: (controlProps: () => Record<string, string | boolean | undefined>) => Element

Ver código fuente

FieldDescriptionPropsinterfaz

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

FieldErrorPropsinterfaz

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

FieldLabelPropsinterfaz

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

FieldRootPropsinterfaz

Propiedades

class?
string
disabled?
boolean
id?
string — Explicit ID for the field control. Auto-generated if omitted.
invalid?
boolean
readOnly?
boolean
required?
boolean
style?
string | CSSProperties

hijos: Element

Ver código fuente

Labelcomponente

                        Label(props: FieldLabelProps): Element
                      

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

Rootcomponente

                        Root(props: FieldRootProps): Element
                      

Propiedades

class?
string
disabled?
boolean
id?
string — Explicit ID for the field control. Auto-generated if omitted.
invalid?
boolean
readOnly?
boolean
required?
boolean
style?
string | CSSProperties

hijos: Element

Ver código fuente