1.0.3 • Published 4 years ago

fullscreen_loading_component v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

fullscreen_loading_component

A fullscreen_loading_component

NPM JavaScript Style Guide

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

1.0.3

4 years ago

1.0.2

4 years ago