1.0.2 • Published 6 years ago
fade-preloader v1.0.2
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 |