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

Button

Clickable trigger for actions.

Paquete
@solidiom/button
Versión
0.6.0
Estado
stable

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

API

ButtonGroupcomponente

                        ButtonGroup(props: ButtonGroupProps): Element
                      

Propiedades

class?
string
orientation?
"horizontal" | "vertical" — Orientation of the group layout.

hijos: Element

Ver código fuente

ButtonGroupPropsinterfaz

Propiedades

class?
string
orientation?
"horizontal" | "vertical" — Orientation of the group layout.

hijos: Element

Ver código fuente

ButtonPropsinterfaz

Propiedades

loading?
boolean

hijos: Element

Ver código fuente

IconButtoncomponente

                        IconButton(props: IconButtonProps): Element
                      

Propiedades

aria-label
string — Required accessible label since the button has no visible text.
loading?
boolean

hijos: Element

Ver código fuente

IconButtonPropsinterfaz

Propiedades

aria-label
string — Required accessible label since the button has no visible text.
loading?
boolean

hijos: Element

Ver código fuente

Rootcomponente

                        Root(props: ButtonProps): Element
                      

Propiedades

loading?
boolean

hijos: Element

Ver código fuente

ToggleButtoncomponente

                        ToggleButton(props: ToggleButtonProps): Element
                      

Propiedades

class?
string
disabled?
boolean
loading?
boolean
onPressedChange?
(pressed: boolean) => void — Called when the pressed state should change.
pressed
boolean — Whether the toggle is currently pressed/active.

hijos: Element

Ver código fuente

ToggleButtonPropsinterfaz

Propiedades

class?
string
disabled?
boolean
loading?
boolean
onPressedChange?
(pressed: boolean) => void — Called when the pressed state should change.
pressed
boolean — Whether the toggle is currently pressed/active.

hijos: Element

Ver código fuente