rc-overlay
v1.0.2
Published
Overlay Component
Downloads
17
Readme
Overlay Component
Overlay component for react.
Overlay is rendered to cover positioned element (css position not static)
Usage
<Overlay
show={this.state.overlay}
style={{zIndex: 99, backgroundColor: 'rgba(0,0,0,0.2)'}}
delay={200}/>
Props
name | type | default | description -------| ------ | ---------- | ------------ show | boolean| false | show the overlay if true deplay | number | 0 | delay in milisecond for show element
You can also have className
and style
applied to underneath overlay element.
License
MIT