mg-p14-modal
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

mg-p14-modal

This librairy help you to manage your modals

Install

to install :

   npm install mg-p14-modal

ou :

   yarn install mg-p14-modal

Documentation

import :

on the top of files incert :

   import { Modal } from 'mg-p14-modal'

how to use :

Modal have 3 parameters :

  • isOpen : a boolen who inform if the modal is open
  • onClose : execute a fonction on click on close
  • children : the content of the modal

Package Sidebar

Install

npm i mg-p14-modal

Weekly Downloads

1

Version

0.0.7

License

none

Unpacked Size

40.3 kB

Total Files

10

Last publish

Collaborators

  • madelinegrammatico