Constructor
Type Definitions
object
# Props
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
primary |
boolean | If button should be presented as a primary action |
|
children |
ReactNode | Body of the button |
|
onClick |
OnClickHandler |
<optional> |
click callback |
as |
string |
<optional> |
As which element it should be rendered. For example: as: 'a' or as: 'button' |
to |
string | Href |
|
type |
string |
<optional> |