1.0.16 • Published 2 years ago

react-page-loading-v2 v1.0.16

Weekly downloads
-
License
MIT
Repository
github
Last release
2 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

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago