Button
Clickable trigger for actions.
Generado a partir del código fuente público del paquete.
API
ButtonGroupcomponente
ButtonGroup(props: ButtonGroupProps): Element
Propiedades
class?stringorientation?"horizontal" | "vertical"— Orientation of the group layout.
hijos: Element
ButtonGroupPropsinterfaz
Propiedades
class?stringorientation?"horizontal" | "vertical"— Orientation of the group layout.
hijos: Element
ButtonPropsinterfaz
Propiedades
aria-label?stringclass?stringdisabled?booleanloading?booleanonClick?() => voidtype?"button" | "submit" | "reset"
hijos: Element
IconButtoncomponente
IconButton(props: IconButtonProps): Element
Propiedades
aria-labelstring— Required accessible label since the button has no visible text.class?stringdisabled?booleanloading?booleanonClick?() => voidtype?"button" | "submit" | "reset"
hijos: Element
IconButtonPropsinterfaz
Propiedades
aria-labelstring— Required accessible label since the button has no visible text.class?stringdisabled?booleanloading?booleanonClick?() => voidtype?"button" | "submit" | "reset"
hijos: Element
Rootcomponente
Root(props: ButtonProps): Element
Propiedades
aria-label?stringclass?stringdisabled?booleanloading?booleanonClick?() => voidtype?"button" | "submit" | "reset"
hijos: Element
ToggleButtoncomponente
ToggleButton(props: ToggleButtonProps): Element
Propiedades
class?stringdisabled?booleanloading?booleanonPressedChange?(pressed: boolean) => void— Called when the pressed state should change.pressedboolean— Whether the toggle is currently pressed/active.
hijos: Element
ToggleButtonPropsinterfaz
Propiedades
class?stringdisabled?booleanloading?booleanonPressedChange?(pressed: boolean) => void— Called when the pressed state should change.pressedboolean— Whether the toggle is currently pressed/active.
hijos: Element