1.0.0 • Published 6 years ago
react-button-with-warning v1.0.0
react-button-with-warning
A react button component with a warning when clicked
Demo
Installation
npm install react-button-with-warning
Usage
import ButtonWithWarning from 'react-button-with-warning';
<ButtonWithWarning onClick={() => { console.log("I've been clicked"); }}>
Buy an expensive thing
</ButtonWithWarning>
1.0.0
6 years ago