rmodal-component
v2.3.0
Published
React Modal Component (draggable drawer in mobile devices)
Downloads
74
Readme
rmodal-component
Full Document
Demo
Install
npm install --save rmodal-component
Usage
import React, {useState} from 'react';
import Modal from 'rmodal-component';
import 'rmodal-component/dist/index.css'
const Example = () => {
const [show, setShow] = useState(false);
return (
<div>
<Modal show={show} onClose={() => setShow(false)} smModal={true} lockBodyScroll={true} modalTitle={"modal Title"}>
...
</Modal>
</div>
);
};
export default Example;
License
MIT © MostafaRostami72