shamin / react-fullscreen-loading

Minimal fullscreen loading for react
https://codesandbox.io/s/v6z782xow7
MIT License
10 stars 1 forks source link
react-loading react-loading-animation

react-fullscreen-loading

npm version

Minimal fullscreen loading for react

Edit v6z782xow7

Installation

npm install --save react-fullscreen-loading

Example

import React from 'react';
import Loading from 'react-fullscreen-loading';

class App extends React.Component {
  render() {
    return(
      <Loading loading background="#2ecc71" loaderColor="#3498db" />
    )
  }
}

export default App;

Props

Name Type Default Value
loading boolean false
background String rgba(236, 240, 241, 0.7)
loaderColor String #e74c3c

Licence

Code released under the MIT License