created:
7/29/2020
,
updated:
7/29/2020
Button
component-controls-starter: 1.11.1
Button with react Typescript properties
Name | Description | Default | Controls |
|---|---|---|---|
disabled | Boolean indicating whether the button should render as disabled boolean | false | |
backgroundColor | Background color string | #fefefe | |
color | Text color, default black string | black | |
padding | Numeric field type number | 5 | |
type | Button type
| button | |
style | Custom styles object | {} | |
children | button label ReactNode | default | |
onClick | onClick handler () => void | () => {} |
package | imports | version | peer |
|---|---|---|---|
react | React FC | ^16.13.1 |