type
Description
sets the type of a buttonType
string
Example
<Button type={"primary"}>Click Me</Button>
<!--setting a button block -->
<Button type={'primary block'}>Click Me</Button>
Details
The following types of buttons are available:
'default'
'primary'
'secondary'
'danger'
'link'
There are also two types of a button block:
'primary block'
'secondary block'
Related article: Specifying the appearance of a button
Related sample: Button