@tractorzoom/button
Wrapped Material UI button
Install
npm i --save @tractorzoom/button
Button Props
value | required | description |
---|---|---|
loading | no | boolean to display loading spinner, also disables button |
startIcon | no | icon node to display at start of button text, will be replaced by loading icon when loading is true |
variant | no | string of Material UI button variant styling; (defaults to contained ) |
Additional props will be passed to Material UI Button
Contributing
We welcome improvements and fixes via PRs. Review the contributing guidelines in the repository readme for how to get started.