primary-button
v1.0.7arrow_drop_down

string
,string
,number
,number
,string
,JSX.Element
,function
JSX.Element
Renders a HTML Button element
string
The default class of the button.
string
Add extra class styles to overwrite default class.
number
Width of the button.
number
Height of the button.
string
Text for the button.
JSX.Element
React Elements
function
onclick event function of the button.
JSX.Element
A HTML `button`
string
,string
,number
,number
,string
,object
,JSX.Element
,function
JSX.Element
Inserts an Icon from the Material Icon library into a PrimaryButton
.
string
The default class of the button.
string
Add extra class styles to overwrite default class.
number
Width of the button.
number
Height of the button.
string
Google Material Icon for the button.
object
Style Inline CSS styles for icon.
JSX.Element
React Elements
function
onclick event function of the button.
JSX.Element
A `PrimaryButton` component with an icon as a child.
string
,string
,number
,number
,string
,object
,JSX.Element
,function
JSX.Element
Renders a round IconButton
.
string
The default class of the button.
string
Add extra class styles to overwrite default class.
number
Width of the button.
number
Height of the button.
string
Google Material Icon for the button.
object
Style Inline CSS styles for icon.
JSX.Element
React Elements
function
onclick event function of the button.
JSX.Element
A round `IconButton` component.
string
,string
,number
,number
,number
,string
,[string]
,string
,number
,function
JSX.Element
Renders a Spinner
component into an IconButton
.
string
The default class of the button.
string
Add extra class styles to overwrite default class.
number
Width of the button.
number
Height of the button.
number
The size of the width and height of the Spinner
.
string
A single color for the Spinner
.
[string]
An array of color hex strings for the Spinner
. It overides spinnerColor
.
string
The duration of a complete revolution of the Spinner
in seconds.
number
The thickness of the Spinner
border.
function
onclick event function of the button.
JSX.Element
A round `IconButton` with a child `Spinner` component.
string
,string
,number
,number
,string
,object
,string
,object
,function
,function
JSX.Element
Renders an icon and a text into an PrimaryButton
.
string
The default class of the button.
string
Add extra class styles to overwrite default class.
number
Width of the button.
number
Height of the button.
string
Text for the button.
object
Style Inline CSS styles for the button text.
string
Google Material Icon for the button.
object
Style Inline CSS styles for icon.
function
onclick event function of the button.
function
onclick event function of the icon in the button.
JSX.Element
A `PrimaryButton` component with an icon and a text node as its children.
string
,string
,number
,number
,string
,object
,number
,string
,[string]
,string
,number
,function
JSX.Element
Renders a Spinner
component and a text node into a PrimaryButton
.
string
The default class of the button.
string
Add extra class styles to overwrite default class.
number
Width of the button.
number
Height of the button.
string
Text for the button.
object
Style Inline CSS styles for the button text.
number
The size of the width and height of the Spinner
.
string
A single color for the Spinner
.
[string]
An array of color hex strings for the Spinner
. It overides spinnerColor
.
string
The duration of a complete revolution of the Spinner
in seconds.
number
The thickness of the Spinner
border.
function
onclick event function of the button.
JSX.Element
A `PrimaryButton` component with a `Spinner` component and text node as its children.
string
,string
,number
,number
,string
,object
,string
,object
,function
JSX.Element
Renders a check icon and a success text into a TextIconButton
.
string
The default class of the button.
string
Add extra class styles to overwrite default class.
number
Width of the button.
number
Height of the button.
string
Text for the button.
object
Style Inline CSS styles for the button text.
string
Google Material Icon for the button.
object
Style Inline CSS styles for icon.
function
onclick event function of the button.
JSX.Element
A `TextIconButton` component with a _check_ icon and _Success_ text as its children.
string
,string
,number
,number
,string
,object
,string
,object
,function
JSX.Element
Renders a close icon and a Danger text into a TextIconButton
.
string
The default class of the button.
string
Add extra class styles to overwrite default class.
number
Width of the button.
number
Height of the button.
string
Text for the button.
object
Style Inline CSS styles for the button text.
string
Google Material Icon for the button.
object
Style Inline CSS styles for icon.
function
onclick event function of the button.
JSX.Element
A `TextIconButton` component with a _close_ icon and _Danger_ text as its children.