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

Button

Clickable trigger for actions.

Paquete
@solidiom/button
Versión
0.0.1-next.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

aria-label?
string
class?
string
disabled?
boolean
loading?
boolean
onClick?
() => void
type?
"button" | "submit" | "reset"

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.
class?
string
disabled?
boolean
loading?
boolean
onClick?
() => void
type?
"button" | "submit" | "reset"

hijos: Element

Ver código fuente

IconButtonPropsinterfaz

Propiedades

aria-label
string — Required accessible label since the button has no visible text.
class?
string
disabled?
boolean
loading?
boolean
onClick?
() => void
type?
"button" | "submit" | "reset"

hijos: Element

Ver código fuente

Rootcomponente

                        Root(props: ButtonProps): Element
                      

Propiedades

aria-label?
string
class?
string
disabled?
boolean
loading?
boolean
onClick?
() => void
type?
"button" | "submit" | "reset"

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