UNPKG

package-modal

Version:

création d'une modal avec "texte" et "button" variable

59 lines (33 loc) 1.1 kB
#Project 14 "Front End Developer" #HR-Net. ## Technologies - JS - CSS - React - NPM ## Author [Solis Gaetan](https://github.com/Getssone) ## Prerequisites - [NodeJS](https://nodejs.org/en/) - [Yarn](https://yarnpkg.com/) - [React](https://reactjs.org/docs/getting-started.html) ## Installation ### Modal React component, with customizable text! Simple component for React project. Installation You can install this component with npm or yarn: npm i package-modal-p14 or yarn add package-modal-p14 ## Exemple Image: ![alt text](https://github.com/Getssone/Packahe-Modal-p14-V2/blob/main/src/assets/exemple-img/big-screen.jpeg) or ![alt text](https://github.com/Getssone/Packahe-Modal-p14-V2/blob/main/src/assets/exemple-img/small-screen.jpeg) ## Exemple Code : > import Modal from "package-modal" > const texte = "Employee Created! It's Me Luigi 😉✅" >const close = "Here We Go ! 🚩" And now you can use > Modal texte={texte} close={close} ## Infos + - [Enregistrement d'un Package](https://levelup.gitconnected.com/publish-react-components-as-an-npm-package-7a671a2fb7f)