react-button-with-warning

1.0.0 • Public • Published

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>

Readme

Keywords

Package Sidebar

Install

npm i react-button-with-warning

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

29.5 kB

Total Files

8

Last publish

Collaborators

  • jdeniau