Button
This is a basic button component.
Installation
Examples
Properties
title
string
The caption for the button
icon
string
The url of an icon to show on the button
className
string
Any extra css classes to add to the button
onClick
() => void
The callback that gets invoked when the button is clicked
loading
boolean
Set this to true
to show the button in its 'loading...' state. In this state, an animation will be shown indicating that work is going on and the user will not be able to click the button
loadingTitle
string
The caption to show on the button when its in loading state
active
boolean
disabled
boolean
title
The caption for the button
string
icon
The url of an icon to show on the button
string
className
Any extra css classes to add to the button
string
onClick
The callback that gets invoked when the button is clicked
() => void
loading
Set this to true
to show the button in its 'loading...' state. In this state, an animation will be shown indicating that work is going on and the user will not be able to click the button
boolean
loadingTitle
The caption to show on the button when its in loading state
string
active
boolean
disabled
boolean
Last updated