0.1.8 • Published 2 years ago

react-modal-nico-p14 v0.1.8

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

information

customizable Modal for react with close button

installation

npm react-modal-nico-p14

Documentation

IMPORTANT :

You have to parameter show / close modal const show, setShow=useState(false) const openModal= ()=> setShow(true) const closeModal=()=> setShow(false)

img img of modal (checked img by default) show show or not show modal (bolean)
width width of the container = tierce of window width by default height height of the container = window height/2.1 by default left position on x (center responsive by default) top position on y (center responsive by default) bg choose your bg = white by default text text modal
justifyContent about the container, space-around by default borderRadius border-radius= 150px by default display flex by default alignitems center by default flexDirection column by default opacity 0.8 by default boxShadow about the container fontSize text sier color text color