{"_id":"@aalexandree-g/hrnet-modal","_rev":"10-b53d3917189829a4c32f4bba27393857","name":"@aalexandree-g/hrnet-modal","dist-tags":{"latest":"1.0.9"},"versions":{"1.0.0":{"name":"@aalexandree-g/hrnet-modal","version":"1.0.0","_id":"@aalexandree-g/hrnet-modal@1.0.0","maintainers":[{"name":"aalexandree-g","email":"aalexandree.g@gmail.com"}],"dist":{"shasum":"697a3e4acd60249e258822a357fdab7115a68b58","tarball":"https://registry.npmjs.org/@aalexandree-g/hrnet-modal/-/hrnet-modal-1.0.0.tgz","fileCount":8,"integrity":"sha512-nx0HcbyM+h7UrVpH8sZifhIhEyzmavNjwyNL6T/a9zwQEUkdBdqpSwSIle/u1DRCiHs3eOfuEq+IbR7jq44kIA==","signatures":[{"sig":"MEQCICfQnMXQbl5t/Y/1lVvqWu8IJMMVnGA1rQ+41tEMsyUeAiBaXb2CLmNMOQQK/6DHtbt3JMuXtU8PmZFap1kVRhTULA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6358},"type":"module","private":false,"scripts":{"dev":"vite","lint":"eslint .","build":"vite build","preview":"vite preview"},"_npmUser":{"name":"aalexandree-g","email":"aalexandree.g@gmail.com"},"_npmVersion":"10.9.2","description":"This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"prop-types":"^15.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.2.4","eslint":"^9.39.1","@types/react":"^19.2.5","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^5.1.1"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hrnet-modal_1.0.0_1765535174136_0.7116074258959368","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@aalexandree-g/hrnet-modal","version":"1.0.1","_id":"@aalexandree-g/hrnet-modal@1.0.1","maintainers":[{"name":"aalexandree-g","email":"aalexandree.g@gmail.com"}],"dist":{"shasum":"bf87ba458bcd14d6238e3a814a23ed5437bdec74","tarball":"https://registry.npmjs.org/@aalexandree-g/hrnet-modal/-/hrnet-modal-1.0.1.tgz","fileCount":8,"integrity":"sha512-cQm7NX/joAlNkwca1u1ZH4ptyuPAsWUz1Nn8LifSJCHeSyz21Ry/YYl9kyurcASYoM9nYrzxFdPfwhHooDeClg==","signatures":[{"sig":"MEYCIQDL9aX4rI5EmGsCQnLq+L05Zwa17vLeMSqqNY+gi7KVfQIhALGbRrNxWqK8a+qPysZp1hmYF+/mICVY2j7s9EGvvcUl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7230},"type":"module","private":false,"scripts":{"dev":"vite","lint":"eslint .","build":"vite build","preview":"vite preview"},"_npmUser":{"name":"aalexandree-g","email":"aalexandree.g@gmail.com"},"_npmVersion":"10.9.2","description":"A lightweight, accessible and reusable **React Modal component**, originally built for the **HRnet project (OpenClassrooms)**.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"prop-types":"^15.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.2.4","eslint":"^9.39.1","@types/react":"^19.2.5","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^5.1.1"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hrnet-modal_1.0.1_1765541306327_0.29870178828034444","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@aalexandree-g/hrnet-modal","version":"1.0.2","_id":"@aalexandree-g/hrnet-modal@1.0.2","maintainers":[{"name":"aalexandree-g","email":"aalexandree.g@gmail.com"}],"dist":{"shasum":"e3519714867b8cacc25004599d4335443effe5ff","tarball":"https://registry.npmjs.org/@aalexandree-g/hrnet-modal/-/hrnet-modal-1.0.2.tgz","fileCount":8,"integrity":"sha512-UV3G9H5/dasQzmgA3kZl7D9Uh3vAEL8B0tg3sC1BJOQp9XxT0Y0xNOMN2T/rLvFZhjxJn1/ciELxfiMxe0csjw==","signatures":[{"sig":"MEYCIQCjBo8ki6NjrE14R/4nsVERk0dv/CuIFnl8/wvw0HYTSwIhAK+5gbQbUI/yvkUIrm3PHcltZipfZ+6NFdvZ8rPEBNuQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7206},"type":"module","private":false,"scripts":{"dev":"vite","lint":"eslint .","build":"vite build","preview":"vite preview"},"_npmUser":{"name":"aalexandree-g","email":"aalexandree.g@gmail.com"},"_npmVersion":"10.9.2","description":"A lightweight, accessible and reusable **React Modal component**, originally built for the **HRnet project (OpenClassrooms)**.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"prop-types":"^15.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.2.4","eslint":"^9.39.1","@types/react":"^19.2.5","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^5.1.1"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hrnet-modal_1.0.2_1765541393852_0.20386321109396377","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@aalexandree-g/hrnet-modal","version":"1.0.3","_id":"@aalexandree-g/hrnet-modal@1.0.3","maintainers":[{"name":"aalexandree-g","email":"aalexandree.g@gmail.com"}],"dist":{"shasum":"1c32cad81a7e210186765136f74aade815a129be","tarball":"https://registry.npmjs.org/@aalexandree-g/hrnet-modal/-/hrnet-modal-1.0.3.tgz","fileCount":8,"integrity":"sha512-ksW/wQYBe1qHKOihx9glZnkcBTriU6mcmokZtD3QS96S96WdKW7ZPyrMunsPJ33+2Vtmj2YsE10f5SILcESD3w==","signatures":[{"sig":"MEQCIGC2wstuGC30a5I3d4f38daqGlV4HLK6aGRU2BoSFrEBAiB55oMJP//ATnzjEsADXL1fXpBc2Ffm6SsP2G9UYkt/rg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7188},"type":"module","private":false,"scripts":{"dev":"vite","lint":"eslint .","build":"vite build","preview":"vite preview"},"_npmUser":{"name":"aalexandree-g","email":"aalexandree.g@gmail.com"},"_npmVersion":"10.9.2","description":"A lightweight, accessible and reusable **React Modal component**, originally built for the **HRnet project (OpenClassrooms)**.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"prop-types":"^15.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.2.4","react":"^18.3.1","eslint":"^9.39.1","react-dom":"^18.3.1","@vitejs/plugin-react":"^5.1.1"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hrnet-modal_1.0.3_1765546070008_0.928406892427257","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@aalexandree-g/hrnet-modal","version":"1.0.4","_id":"@aalexandree-g/hrnet-modal@1.0.4","maintainers":[{"name":"aalexandree-g","email":"aalexandree.g@gmail.com"}],"dist":{"shasum":"d4c3663ab246c005e80fcd7c2314a8c09f17c4e9","tarball":"https://registry.npmjs.org/@aalexandree-g/hrnet-modal/-/hrnet-modal-1.0.4.tgz","fileCount":8,"integrity":"sha512-82hNI6DCx4Zoy8BNge+G/nlzaQIwRFx0U/Iu8vR7eQ9pCffDOH7YizunIiAqs/JxGdlRT+7B5avcdA78yA8p/w==","signatures":[{"sig":"MEYCIQDHMQcaWpiKdgOBVggwwUgbAbSP4tx4pgaAC88dMwe0VAIhAOfWO0anl6pvD5zqx00P03nffNWQ1cOv1oc/yHj6+R+e","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7266},"main":"./src/index.js","type":"module","module":"./src/index.js","private":false,"scripts":{"dev":"vite","lint":"eslint .","build":"vite build","preview":"vite preview"},"_npmUser":{"name":"aalexandree-g","email":"aalexandree.g@gmail.com"},"_npmVersion":"10.9.2","description":"A lightweight, accessible and reusable **React Modal component**, originally built for the **HRnet project (OpenClassrooms)**.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"prop-types":"^15.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.2.4","eslint":"^9.39.1","@types/react":"^18.3.1","@types/react-dom":"^18.3.1","@vitejs/plugin-react":"^5.1.1"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hrnet-modal_1.0.4_1765547046114_0.6303537848353222","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@aalexandree-g/hrnet-modal","version":"1.0.5","_id":"@aalexandree-g/hrnet-modal@1.0.5","maintainers":[{"name":"aalexandree-g","email":"aalexandree.g@gmail.com"}],"dist":{"shasum":"fe4c543c52c67eb414ff1f2e1974f8b64969531e","tarball":"https://registry.npmjs.org/@aalexandree-g/hrnet-modal/-/hrnet-modal-1.0.5.tgz","fileCount":8,"integrity":"sha512-CCcw0THSTKDybCLfitC33nSB0LM/HsNVhk1TnBwZ/tAOQCYw5FEMOCAKaGIMIKg8chHeCBxkRSlANRBJf5hpAw==","signatures":[{"sig":"MEYCIQCbsDlRl4+R2MwvF3YPlCOgG8D9v2+zwHilvVIrvRYf6gIhAJMEPW4St+iV8S454UjKTBkqPeajqyusp60aCUB+vGXF","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7181},"main":"./src/index.js","type":"module","module":"./src/index.js","private":false,"scripts":{"dev":"vite","lint":"eslint .","build":"vite build","preview":"vite preview"},"_npmUser":{"name":"aalexandree-g","email":"aalexandree.g@gmail.com"},"_npmVersion":"10.9.2","description":"A lightweight, accessible and reusable **React Modal component**, originally built for the **HRnet project (OpenClassrooms)**.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"prop-types":"^15.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.2.4","eslint":"^9.39.1","@types/react":"^18.3.1","@types/react-dom":"^18.3.1","@vitejs/plugin-react":"^5.1.1"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hrnet-modal_1.0.5_1765548743139_0.7389253796772193","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@aalexandree-g/hrnet-modal","version":"1.0.6","_id":"@aalexandree-g/hrnet-modal@1.0.6","maintainers":[{"name":"aalexandree-g","email":"aalexandree.g@gmail.com"}],"dist":{"shasum":"6d2f96a77a10f3a278a3b569254ae12a2cb6f940","tarball":"https://registry.npmjs.org/@aalexandree-g/hrnet-modal/-/hrnet-modal-1.0.6.tgz","fileCount":8,"integrity":"sha512-koD71TnCpqmi7UjO7d0YPx6lt+gcb+/4pRoDF9kzcO7wLfiB5lDVaHWq97dXpq9iJ7NFVRdbZuQSQFR9ZjdwYw==","signatures":[{"sig":"MEUCIHlW4L5j/8V8Fr3H9r5hUi43MJAZ4PtpgFtJaz6UbcJcAiEA/iLfXhBEKzPd0sMGcRo86Ipx105NcsZE3PNl2Y+zXDk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7175},"main":"./src/index.js","type":"module","module":"./src/index.js","private":false,"scripts":{"dev":"vite","lint":"eslint .","build":"vite build","preview":"vite preview"},"_npmUser":{"name":"aalexandree-g","email":"aalexandree.g@gmail.com"},"_npmVersion":"10.9.2","description":"A lightweight, accessible and reusable **React Modal component**, originally built for the **HRnet project (OpenClassrooms)**.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"prop-types":"^15.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.2.4","eslint":"^9.39.1","@types/react":"^18.3.1","@types/react-dom":"^18.3.1","@vitejs/plugin-react":"^5.1.1"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hrnet-modal_1.0.6_1765548915532_0.45281168135371663","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@aalexandree-g/hrnet-modal","version":"1.0.7","_id":"@aalexandree-g/hrnet-modal@1.0.7","maintainers":[{"name":"aalexandree-g","email":"aalexandree.g@gmail.com"}],"dist":{"shasum":"4e90c65c201eaf5ea0da18e7c7409416ff948f4c","tarball":"https://registry.npmjs.org/@aalexandree-g/hrnet-modal/-/hrnet-modal-1.0.7.tgz","fileCount":7,"integrity":"sha512-zK6dyojq4lWIAyY6uLD86+/NjOK3u9VLriVjNZYMuXRojdFTUxHbwghkTzXXb2WF74zTjPND8aTppbn19L/Uig==","signatures":[{"sig":"MEUCIFe0wyFE3UNHB4OpWzhiIjRb5N3g9U+dXN6rv/w7jTcnAiEA46QBcLO1uRYP9Qxm0ffiOHMd694J0VdXU5dcs6Ra5LA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6462},"main":"./src/index.js","type":"module","module":"./src/index.js","private":false,"scripts":{"dev":"vite","lint":"eslint .","build":"vite build","preview":"vite preview"},"_npmUser":{"name":"aalexandree-g","email":"aalexandree.g@gmail.com"},"_npmVersion":"10.9.2","description":"A lightweight, accessible and reusable **React Modal component**, originally built for the **HRnet project (OpenClassrooms)**.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"prop-types":"^15.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.2.4","eslint":"^9.39.1","@types/react":"^18.3.1","@types/react-dom":"^18.3.1","@vitejs/plugin-react":"^5.1.1"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hrnet-modal_1.0.7_1765549518420_0.864404535430537","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@aalexandree-g/hrnet-modal","version":"1.0.8","keywords":["react","modal","dialog","popup","accessible","a11y","hrnet","plugin","openclassrooms"],"license":"MIT","_id":"@aalexandree-g/hrnet-modal@1.0.8","maintainers":[{"name":"aalexandree-g","email":"aalexandree.g@gmail.com"}],"homepage":"https://github.com/aalexandree-g/P14-modal#readme","bugs":{"url":"https://github.com/aalexandree-g/P14-modal/issues"},"dist":{"shasum":"7539e9f4c564721638c5b56f127d625032a0e3e7","tarball":"https://registry.npmjs.org/@aalexandree-g/hrnet-modal/-/hrnet-modal-1.0.8.tgz","fileCount":7,"integrity":"sha512-zL//llJDD44q/ImomUL5oBkLgXTVoRtCbACHfpa2HSnqwNZSk21NcH70ZCvNyEa9a1dhLpG1rGOO6qnVyorEuw==","signatures":[{"sig":"MEYCIQD9NsK0c3sgzG/Yy+6mltONDvOWJAj65ZRdD/UhMlxv4AIhAOXwAScQHabPM0y4JOc2h37ArFiQWIdKtHCKM7K23qPl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6740},"main":"./src/index.js","type":"module","module":"./src/index.js","gitHead":"bc22dd981f2d7f260f50c40c8f27a1f27a42437b","private":false,"scripts":{"dev":"vite","lint":"eslint .","build":"vite build","preview":"vite preview"},"_npmUser":{"name":"aalexandree-g","email":"aalexandree.g@gmail.com"},"repository":{"url":"git+https://github.com/aalexandree-g/P14-modal.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight, accessible and reusable **React Modal component**, originally built for the **HRnet project (OpenClassrooms)**.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"prop-types":"^15.8.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.2.4","eslint":"^9.39.1","@types/react":"^18.3.1","@types/react-dom":"^18.3.1","@vitejs/plugin-react":"^5.1.1"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hrnet-modal_1.0.8_1765557270678_0.48083956745358436","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@aalexandree-g/hrnet-modal","license":"MIT","keywords":["react","modal","dialog","popup","accessible","a11y","hrnet","plugin","openclassrooms"],"repository":{"type":"git","url":"git+https://github.com/aalexandree-g/P14-modal.git"},"version":"1.0.9","type":"module","private":false,"main":"./src/index.js","module":"./src/index.js","scripts":{"dev":"vite","build":"vite build","lint":"eslint .","preview":"vite preview"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"dependencies":{"prop-types":"^15.8.1"},"devDependencies":{"@types/react":"^18.3.1","@types/react-dom":"^18.3.1","@vitejs/plugin-react":"^5.1.1","eslint":"^9.39.1","vite":"^7.2.4"},"_id":"@aalexandree-g/hrnet-modal@1.0.9","gitHead":"317e8e2725aff95f6a2379a0858d97560e67a3d1","description":"A lightweight, accessible and reusable **React Modal component**, originally built for the **HRnet project (OpenClassrooms)**.","bugs":{"url":"https://github.com/aalexandree-g/P14-modal/issues"},"homepage":"https://github.com/aalexandree-g/P14-modal#readme","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-WHeNZCAzh7N4RTO3eaN/oOadjog9x6XQGyfnvtJ7sIESxXDy0qlw7FSYABabc577ycAytLVbN8wFtT3x7xvrWQ==","shasum":"c3f1758a87751abef98f5e8ee9e1c44ed57b2ea3","tarball":"https://registry.npmjs.org/@aalexandree-g/hrnet-modal/-/hrnet-modal-1.0.9.tgz","fileCount":7,"unpackedSize":6740,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDVg6ESsetn+7mhK7x1h8eKHwSHv43QuxlQVZyc0NlaAwIhALEcyxCvzZblbQFfETvADGKqUmIlvz6dP3HNM90ZcVjL"}]},"_npmUser":{"name":"aalexandree-g","email":"aalexandree.g@gmail.com"},"directories":{},"maintainers":[{"name":"aalexandree-g","email":"aalexandree.g@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hrnet-modal_1.0.9_1765557661680_0.3651966232592372"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-12T10:26:14.023Z","modified":"2025-12-12T16:41:02.019Z","1.0.0":"2025-12-12T10:26:14.281Z","1.0.1":"2025-12-12T12:08:26.483Z","1.0.2":"2025-12-12T12:09:53.994Z","1.0.3":"2025-12-12T13:27:50.140Z","1.0.4":"2025-12-12T13:44:06.245Z","1.0.5":"2025-12-12T14:12:23.267Z","1.0.6":"2025-12-12T14:15:15.657Z","1.0.7":"2025-12-12T14:25:18.549Z","1.0.8":"2025-12-12T16:34:30.852Z","1.0.9":"2025-12-12T16:41:01.836Z"},"bugs":{"url":"https://github.com/aalexandree-g/P14-modal/issues"},"license":"MIT","homepage":"https://github.com/aalexandree-g/P14-modal#readme","keywords":["react","modal","dialog","popup","accessible","a11y","hrnet","plugin","openclassrooms"],"repository":{"type":"git","url":"git+https://github.com/aalexandree-g/P14-modal.git"},"description":"A lightweight, accessible and reusable **React Modal component**, originally built for the **HRnet project (OpenClassrooms)**.","maintainers":[{"name":"aalexandree-g","email":"aalexandree.g@gmail.com"}],"readme":"# Hrnet Modal Plugin [![npm version](https://img.shields.io/npm/v/@aalexandree-g/hrnet-modal)](https://www.npmjs.com/package/@aalexandree-g/hrnet-modal)\n\nA lightweight, accessible and reusable **React Modal component**, originally built for the **HRnet project (OpenClassrooms)**.\n\nThis plugin provides:\n- A fully custom React modal (no jQuery, no external modal libraries)\n- Keyboard accessibility (Escape key, focus management)\n- Click-outside closing\n\n## Installation\n\nUsing npm :\n\n```bash\nnpm install @aalexandree-g/hrnet-modal\n```\n\nUsing yarn :\n\n```bash\nyarn add @aalexandree-g/hrnet-modal\n```\n\n## Basic usage (with state)\n\n```js\nimport { HrnetModal, useHrnetModal } from '@aalexandree-g/hrnet-modal'\n\nexport default function Example() {\n  const { isOpen, open, close } = useHrnetModal()\n  return (\n    <>\n      <button onClick={open}>Open modal</button>\n      <HrnetModal\n        isOpen={isOpen}\n        title=\"Success\"\n        message=\"Employee has been added !\"\n        variant=\"success\"\n        onClose={close}\n      />\n    </>\n  )\n}\n\n```\n## Props\n\n| Prop        | Type     | Default       | Description                     |\n| ----------- | -------- | ------------- | ------------------------------- |\n| `isOpen`       | boolean   | —          | Wether the modal is visible                   |\n| `title`    | string / JSX | —             | Title displayed in the modal |\n| `message`      | string / JSX   | —  | Optional message below the title                  |\n| `variant` | \"success\" / \"error\"   | \"success\" | Visual styling of the modal               |\n| `onClose` | function   | — | Called when the modal requests to close               |\n\n## Hook : useHrnetModal()\n| Return value | Type           | Description              |\n| ------------ | ---------------- | ------------------------ |\n| `isOpen`     | boolean           | Current open / close state |\n| `open`       | function         | Opens the modal          |\n| `close`      | function        | Closes the modal         |\n","readmeFilename":"README.md"}