Constructor
# <Button />
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
onClick |
function | onClick handler function |
|
icon |
String |
<optional> |
button icon |
color |
String |
<optional> |
color code |
fill |
String |
<optional> |
fill icon color |
size |
String |
<optional> |
sm | md | lg options |
title |
String |
<optional> |
button title |
type |
String |
<optional> |
button type/color primary | success | error | warning ..etc |
className |
String |
<optional> |
className passed for styled components |