rc-overlay

1.0.2 • Public • Published

Overlay Component

Overlay component for react.

Overlay is rendered to cover positioned element (css position not static)

Story book

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

Package Sidebar

Install

npm i rc-overlay

Weekly Downloads

16

Version

1.0.2

License

MIT

Last publish

Collaborators

  • chemzqm