1.0.3 • Published 4 years ago
fullscreen_loading_component v1.0.3
fullscreen_loading_component
A fullscreen_loading_component
Install
npm install --save fullscreen_loading_component
Description
The LoadingComponent returns a fullscreen loading animation. It is required to put it on top of your main App component on active={false} it will return the children of the component
Usage
import React, { Component } from 'react'
import LoadingComponent from 'portfoliolibrary'
import 'portfoliolibrary/dist/index.css'
class Example extends Component {
render() {
//The loading component requires a active boolean. true = loadinganimation, false will return the children
return (<LoadingComponent active={true}><p>Children</p></LoadingComponent>)
}
}
License
MIT © bdevwebsolutions