A React component wrapper for spin.js with support for children
npm install react-spinner-childrenA React component wrapper for spin.js with support for children.
You can use it in your isomorphic application(server rendering) too.
[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
[npm-image]: https://img.shields.io/npm/v/react-spinner-children.svg?style=flat-square
[npm-url]: https://www.npmjs.com/react-spinner-children
[travis-image]: https://img.shields.io/travis/seeden/react-spinner-children/master.svg?style=flat-square
[travis-url]: https://travis-ci.org/seeden/react-spinner-children
[coveralls-image]: https://img.shields.io/coveralls/seeden/react-spinner-children/master.svg?style=flat-square
[coveralls-url]: https://coveralls.io/r/seeden/react-spinner-children?branch=master
[github-url]: https://github.com/seeden/react-spinner-children
Star this project on [GitHub][github-url].
``js
import React, { Component } from 'react';
import Spinner from 'react-spinner-children';
export default class Example extends Component {
render() {
const isLoaded = true;
const customSpinConfig = {
lines: 10,
}; // all configs http://fgnass.github.io/spin.js/
return (
This content will be show when isLoaded === true
);
}
}
``
- Translate your great project react-translate-maker
- Google Analytics react-g-analytics
- Google AdSense via Google Publisher Tag react-google-publisher-tag