Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/devmnj/react-loader

React component
https://github.com/devmnj/react-loader

react-component reactjs

Last synced: 16 days ago
JSON representation

React component

Awesome Lists containing this project

README

        

# @codehat/react-loader

> CSS Loader component for `React` which includes 7 loaders. The CSS works were adapted from CodePen artists

[![NPM](https://img.shields.io/npm/v/@codehat/react-loader.svg)](https://www.npmjs.com/package/@codehat/react-loader) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)


## Install

```bash
npm install --save @codehat/react-loader
```

## Usage

```jsx
import React, { Component } from 'react'

import ReactLoader from '@codehat/react-loader'
import '@codehat/react-loader/dist/index.css'

class Example extends Component {
render() {
return
}
}
```

## Props

Using the `type prop` you can activate the following loaders.

- Circles
- BouncingBar
- Wave
- Dots
- TwinCircles
- SpinnerDots
- Focus

## License

MIT © [manojap](https://github.com/manojap)