1.0.16 • Published 3 years ago

react-page-loading-v2 v1.0.16

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

react-page-loading-v2

react-page-loading-v2 version downloads license

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

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

Features

  • Working with react-router-dom

  • Working with react-router-redux

  • ... etc.

Installation

npm

npm i react-page-loading-v2

yarn

yarn add react-page-loading-v2

Usage

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

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

NameTypeDefault value
loaderPropTypes.stringbar
colorPropTypes.string#A9A9A9
sizePropTypes.number4
durationPropTypes.number1

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-page-loading-v2 by forking and sending a pull request!

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

License

MIT License

Copyright (c) 2022 devzerstudio, Maintained by hashaaan

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago