mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-12-04 21:01:32 -05:00
f97e3f51ee
Using one found on http://tobiasahlin.com/spinkit/ for now. @carljbowman please help
20 lines
498 B
JavaScript
20 lines
498 B
JavaScript
var range = require('lodash.range');
|
|
var React = require('react');
|
|
|
|
require('./spinner.scss');
|
|
|
|
var Spinner = React.createClass({
|
|
// Adapted from http://tobiasahlin.com/spinkit/
|
|
type: 'Spinner',
|
|
render: function () {
|
|
return (
|
|
<div className="spinner">
|
|
{range(1,13).map(function (id) {
|
|
return <div className={'circle' + id + ' circle'}></div>;
|
|
})}
|
|
</div>
|
|
);
|
|
}
|
|
});
|
|
|
|
module.exports = Spinner;
|