Npm
$ npm install react-core-loading-spinner --save-dev
Yarn
$ yarn add react-core-loading-spinner
Code Example
import React from 'react';
import {Spinner} from 'react-core-loading-spinner';
let App = React.createClass({
//...
render() {
return(
<div>
<Spinner show={true} text="Requesting..."></Spinner>
</div>
);
},
})