loc
45
comments
62%
Template doc
You can use the document `template` property to reduce the amount of repetitive code. Click on the
button above to see how the document templates are created.Name | Description | Default | Controls |
---|---|---|---|
disabled | Boolean indicating whether the button should render as disabled boolean | false | |
children | button label (string & (boolean | ReactChild | ReactFragment | ReactPortal | null)) | default | |
onClick | onClick handler (() => void) | () => {} | |
style | Custom styles object | {} | |
backgroundColor | Background color string | #fefefe | |
color | Text color, default black string | black | |
type | Button type buttonresetsubmit | button | |
padding | Numeric field type number | 5 |
package | imports | peer |
---|---|---|
react | ReactFC |