Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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 : [email protected]

About

Ma premiere librairie React publié sur NPM 🎖

Topics

Resources

Stars

Watchers

Forks