1.1.3 • Published 2 years ago
yuusuke_modale v1.1.3
About The Project
The modale is here to display every text you want at the center of your screen. It handles the closing event of the modale itself.
Built With
Getting Started
Prerequisites
This project uses :
- npm
npm install npm@latest -g
Installation
- Clone the repo
git clone https://github.com/Yuuusuuke/VincentAllio_CorrectModale.git
- Install NPM packages
npm install
How to use
This component needs 2 props in order to be used.
- setFunction => Needs the callback function from your hook to allow it to close the modale
- text => The text displayed inside the modale (it must be a string)
To close the modale, you have 2 ways : Press the top right close button of the modale, or click outside of the modale.
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request