2.5.1 • Published 4 years ago

rc-simple-modal v2.5.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

This is a simple React.js Modal component, easy to open and close !

Demo

See Demo Here

Install

npm i rc-simple-modal

Usage

import Modal from 'rc-simple-modal';

<Modal
   isOpen={isModalOpen} // Required, use a state to update this
   onClose={() => setIsModalOpen(false)} // Required, when user clicks the X icon on the header
   title='some text' // optional ofc, just adds some text to the header next to the X icon
   isLarge={true || false} // Optional, default is false, will make the modal a bit larger
>

   <p> This is the modal content ! </p>

</Modal>

Enjoy !!

2.5.1

4 years ago

2.5.0

4 years ago

3.0.0

4 years ago

2.2.0

4 years ago

2.0.3

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.2.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago