fade-preloader
v1.0.2
Published
fade-preloader React component
Downloads
2
Readme
fade-preloader
Element that fade-in and fade-out covering the 100% of the viewport height and width. It's intended to use as preloader (or veil) that hide the underlying content in the first loading.
See on github
https://github.com/walterdl/fade-preloader
Install
yarn add fade-preloader
-or-
npm install --save fade-prealoader
Props
| Name | Type | Required | Default | Desc
|:--:|:--:|:--:|:--:|--|
| show
| bool
| yes | false
| show or hide the preloader |
| showInmediatly
| bool
| no | true
| apply fade-in transition when its shows |
| hideInmediatly
| bool
| no | false
| apply fade-out transition when its shows |
| imageUrl
| string
| no | -- | Image to show at top
| className
| string
| no | -- | additional className to the root container |