Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/devmnj/react-loader
- Owner: devmnj
- Created: 2021-07-03T16:07:59.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-07-12T14:45:55.000Z (over 3 years ago)
- Last Synced: 2024-10-31T01:12:21.264Z (21 days ago)
- Topics: react-component, reactjs
- Language: CSS
- Homepage:
- Size: 365 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)