soufiane.irssal_plugin
v1.0.7
Published
modal Plugin
Downloads
14
Maintainers
Readme
Modal Confirmation
Modal confirmation that you can call it to appear. A click in the cross button hide it.
How To install
npm i soufiane.irssal_plugin
or yarn add soufiane.irssal_plugin
How to import
import { ModalPlugin } from "soufiane.irssal_plugin";
Example
import { ModalPlugin } from "soufiane.irssal_plugin";
function HomePage() {
return (
<>
<Header />
<Nav
refLink="employee-list"
text="View Current Employees"
arrowDirection="right"
/>
<main>
</main>
<ModalPlugin />
</>
);
}
export default HomePage;