-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSpinner.js
27 lines (26 loc) · 1.03 KB
/
Spinner.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import React, { PropTypes } from 'react';
import './Spinner.scss';
const Spinner = React.createClass({
propTypes: {
className: PropTypes.string,
},
render() {
return (
<div className={`Spinner-circle ${(this.props.className || '')}`}>
<div className="Spinner-circle1 Spinner-child"></div>
<div className="Spinner-circle2 Spinner-child"></div>
<div className="Spinner-circle3 Spinner-child"></div>
<div className="Spinner-circle4 Spinner-child"></div>
<div className="Spinner-circle5 Spinner-child"></div>
<div className="Spinner-circle6 Spinner-child"></div>
<div className="Spinner-circle7 Spinner-child"></div>
<div className="Spinner-circle8 Spinner-child"></div>
<div className="Spinner-circle9 Spinner-child"></div>
<div className="Spinner-circle10 Spinner-child"></div>
<div className="Spinner-circle11 Spinner-child"></div>
<div className="Spinner-circle12 Spinner-child"></div>
</div>
);
},
});
export default Spinner;