1.1.1 • Published 1 month ago

@fidelisppm/react-modal v1.1.1

Weekly downloads
6
License
SEE LICENSE IN GI...
Repository
github
Last release
1 month ago

ReactModal

A modal component to make your life easier.

Props

trigger (object)
An element which will be rendered on the DOM and, when clicked, will cause the modal to appear. The object provided will be wrapped in a span, and given an onclick event.

content (object)
The content of the modal body. This will be rendered on the page, but is not visible to the user until the trigger is clicked.

Usage

<ReactModal
	trigger={<span>Click me!</span>}
	content={<div>Whatever you want to put in the modal</div>}
/>
1.1.1

1 month ago

1.1.0

1 year ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

4 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago