nino-react-modal
v1.0.1
Published
A simple and reusable React modal component, created for HRnet but usable in any React project.
Downloads
13
Readme
nino-react-modal
A simple and reusable React modal component, created for HRnet but usable in any React project.
🚀 Installation
npm install nino-react-modal
or with yarn:
yarn add nino-react-modal
🎨 Styling
This package does not include default CSS.
You need to provide your own CSS classes.
⚙️ Props
Prop Type Required Description
open boolean ✅ Controls whether the modal is open or closed.
onClose function ✅ Function called when the modal is closed.
children ReactNode ✅ Content to display inside the modal.
📝 License
MIT License © 2025 Nino