modal-npm3
v0.0.41
Published
A simlpe Modal component for React.
Downloads
3
Readme
Modale plugin for React
A simlpe Modal component for React.
Features
Display and quit modale
Download
Requirements
- React 18.2.0+
Installation
- using NPM
npm i @gowku/modale-npm
Usage
To use the plugin, import it in your React component.
the component needs 3 props to work: handleChange
, content
and value
MyComponent.js
import Modal from "@gowku/modale-npm`";
const MyComponent = () => {
<Modal content={content} handleChange={labels} value={boolean} />;
};