1.0.7 • Published 10 months ago

react-modal-package-npm v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

react-modal-package-npm

react modal react-modal-package-npm is a React component that deploys a modal. This modal is designed to be displayed when validating a form.

Props in the code makes possible to deal with the behavior of the component :

  • content : allows to add any kind of html content
  • handleChange : expected to receive the Usetate function of the parent component to deal with open/close on the go
  • value : initial state of the Modal (opened or closed)

NPM JavaScript Style Guide

Install

npm install --save react-modal-package-npm

Usage

import React, { Component } from 'react'

import MyComponent from 'react-modal-package-npm'
import 'react-modal-package-npm/dist/index.css'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}

License

MIT © Migueranda

react-modal-package-npm

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago