# pr-loading

> loading for reactjs

Latest version **0.0.4** (published 2017-05-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install pr-loading
pnpm add pr-loading
yarn add pr-loading
bun add pr-loading
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2017-05-26 |
| First published | 2017-05-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | chenzewei |
| Maintainers | ppeerit |

## Links

- npm: https://www.npmjs.com/package/pr-loading
- Repository: https://github.com/ppeerit/pr-loading
- Homepage: https://github.com/ppeerit/pr-loading#readme
- Issues: https://github.com/ppeerit/pr-loading/issues
- npm.io page: https://npm.io/package/pr-loading

## Dependencies (4)

- [react](https://npm.io/package/react.md) ^0.14.7 || ^15.0.0
- [react-dom](https://npm.io/package/react-dom.md) ^0.14.7 || ^15.0.0
- [classnames](https://npm.io/package/classnames.md) ^2.2.5
- [prop-types](https://npm.io/package/prop-types.md) ^15.5.8

## Recent versions

- 0.0.4 (latest) — 2017-05-26
- 0.0.3 — 2017-05-26
- 0.0.2 — 2017-05-26
- 0.0.1 — 2017-05-26

## README

# Loading svg for ReactJS
## Installation
use npm 
```sh
npm install pr-loading --save
```
## Import into your project
```js
// ES6
import Loading from 'pr-loading';
```
## Add Loading Component to render function
```jsx
//...
render() {
    return (
        <div>
            <Loading size="32" type="spin" color="#0099FF"/>
        </div>
    )
}
//...
```
## Options
`Loading` Component has `size`, `type`, `color` props:

- `size`:`number` is the Loading Component's `width` and `height`
- `type`:`string` is the style for Loading Component:
    * `spin`
    * `spinAround`
    * `spinLong`
    * `bars`
    * `barsTop`
    * `barsBottom`
    * `barsStagger`
    * `barsTransparent`
    * `barsRoundTransparent`
- `color`:`string` is the Loading Component's color

---
_Source: https://npm.io/package/pr-loading · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
