Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Naitchi/ma-librairie-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

4 Commits

Repository files navigation

ma-librairie-react

About the project

Library create for 14th project in my formation "Application developper - JavaScript React" from OpenClassrooms This librairie is available on npm and let you have a react modal ready to use.

Getting started

  1. Install the library :
npm i ma-librairie-react --force
  1. Import in your React project :
import Modal from 'ma-librairie-react';
import 'ma-librairie-react/dist/styles.css';
  1. Use in your React project :
<Modal
 content={<p>Hello world!</p>}
 onClose={() => {
 setModal(false);
 }}
/>

Contact

You can contact me for any problem on my mail : benjaminclairottepro@gmail.com

About

Ma premiere librairie React publié sur NPM 🎖

Topics

Resources

Stars

Watchers

Forks

Contributors

AltStyle によって変換されたページ (->オリジナル) /