Skip to content

React page loading components using to display a loading spin until the page loads completely.

License

Notifications You must be signed in to change notification settings

svelte-barcode/react-page-loading

Repository files navigation

react-page-loading

react-page-loading version downloads license

React page loading components using to display a loading spin until the page loads completely.

We'd love to have your helping hand on contributions to react-page-loading by forking and sending a pull request!

react-page-loading features

Features

  • Working with react-router

  • Working with react-router-redux

  • ... etc.

Installation

npm install react-page-loading --save

Usage

import React, { Component } from 'react'
import Page from 'react-page-loading'

export default class App extends Component {
  constructor(props) {
    super(props)
  }

  render() {
    return (
      <div>
        <Page loader={"bar"} color={"#A9A9A9"} size={4}>
          <h1>Title</h1>
          <p>content goes here</p>
        </Page>
      </div>
    )
  }
}

Properties

Name Type Default value
loader PropTypes.string bar
color PropTypes.string #A9A9A9
size PropTypes.number 4
duration PropTypes.number 1

loader

Value
bar
bubble-spin
bubble
comet-spin
cylinder-spin
resize-spin
rotate-spin
spin

Contributing

We'd love to have your helping hand on contributions to react-chartjsx by forking and sending a pull request!

Your contributions are heartily ♡ welcome, recognized and appreciated. (✿◠‿◠)

License

MIT License

Copyright (c) 2018 codefacebook, Maintained by Bunlong