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

Radio Group

Single-select radio button set with keyboard navigation.

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

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

API

Indicatorcomponente

                        Indicator(props: RadioGroupIndicatorProps): Element
                      

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

Itemcomponente

                        Item(props: RadioGroupItemProps): Element
                      

Propiedades

class?
string
disabled?
boolean
style?
string | CSSProperties
value
string — The value this item represents.

hijos: Element

Ver código fuente

RadioGroupIndicatorPropsinterfaz

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

RadioGroupItemPropsinterfaz

Propiedades

class?
string
disabled?
boolean
style?
string | CSSProperties
value
string — The value this item represents.

hijos: Element

Ver código fuente

RadioGroupRootPropsinterfaz

Propiedades

class?
string
defaultValue?
string — Default value (uncontrolled).
disabled?
boolean
name?
string — Form field name for hidden inputs.
onValueChange?
(value: string) => void — Called when the selected value changes.
orientation?
"horizontal" | "vertical" — Layout orientation — affects arrow key navigation direction.
required?
boolean
style?
string | CSSProperties
value?
Accessor<string | undefined> — Controlled value.

hijos: Element

Ver código fuente

Rootcomponente

                        Root(props: RadioGroupRootProps): Element
                      

Propiedades

class?
string
defaultValue?
string — Default value (uncontrolled).
disabled?
boolean
name?
string — Form field name for hidden inputs.
onValueChange?
(value: string) => void — Called when the selected value changes.
orientation?
"horizontal" | "vertical" — Layout orientation — affects arrow key navigation direction.
required?
boolean
style?
string | CSSProperties
value?
Accessor<string | undefined> — Controlled value.

hijos: Element

Ver código fuente