1.1.3 • Published 2 years ago

julien-react-modal v1.1.3

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

-- React modal --

This is an update of well-known JQuery's plugin of their modals, but in React !

Installation

npm i julien-react-modal

Import

Just import it where you want to use it !

import { Modal } from 'julien-react-modal/dist/Modal'

And then call it in your component

<Modal></Modal>

Props

The plugin has a few props

title ?: string,
transitionTime ?: string,
children ?: any,
btnContent ?: string,
isOpen ?: boolean

title: Adds a title to the modal

transitionTime: Add a transitionTime to the opening of the modal

btnContent: Custom text to the btn on which you want to click to display the modal

isOpen: Boolean to open the modal, isn't necessary to open it with the btn

children: Content of the modal

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago