1.1.3 • Published 1 year ago

julien-react-modal v1.1.3

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year 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

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago