Field
Composition wrapper: label + control + description + error with automatic ARIA wiring.
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
Descriptioncomponente
Description(props: FieldDescriptionProps): Element
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
Errorcomponente
Error(props: FieldErrorProps): Element
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
FieldControlPropsinterfaz
hijos: (controlProps: () => Record<string, string | boolean | undefined>) => Element
FieldDescriptionPropsinterfaz
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
FieldErrorPropsinterfaz
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
FieldLabelPropsinterfaz
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
FieldRootPropsinterfaz
Propiedades
class?stringdisabled?booleanid?string— Explicit ID for the field control. Auto-generated if omitted.invalid?booleanreadOnly?booleanrequired?booleanstyle?string | CSSProperties
hijos: Element
Labelcomponente
Label(props: FieldLabelProps): Element
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
Rootcomponente
Root(props: FieldRootProps): Element
Propiedades
class?stringdisabled?booleanid?string— Explicit ID for the field control. Auto-generated if omitted.invalid?booleanreadOnly?booleanrequired?booleanstyle?string | CSSProperties
hijos: Element