1.0.7 • Published 2 years ago

react-modal-package-npm v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

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