Skip to content

Repository files navigation

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

nametypedefaultdescription
showbooleanfalseshow the overlay if true
deplaynumber0delay in milisecond for show element

You can also have className and style applied to underneath overlay element.

License

MIT

About

Overlay component for react

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages