react-modal-nico-p14
v0.1.8
Published
customizable Modal for react with close button
Downloads
21
Readme
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