react-simple-popup
v1.0.7
Published
A simple popup component for React.
Readme
react-simple-popup
A simple popup component for React.
Installation
$ npm install react-simple-popup --save
Usage
import Popup from 'react-simple-popup'<Popup visible={this.state.visible} width="40" height="30">
// Enter Children Here
</Popup>Properties
Note: Other properties will be passed down to underlying component.
| Prop | Description | Default |
| -------------- | --------------------------------- | ------- |
| visible | The popup is visible (popped up). | boolean |
| width | Width of the window. | number |
| height | Height of the window. | number |
| style | Additional styling. | object |
| children | Elements within the popup window. | object |
