2017-12-21 22:08:54 +01:00
|
|
|
import React from 'react';
|
|
|
|
import classnames from 'classnames';
|
2017-12-01 04:51:55 +01:00
|
|
|
|
2017-12-21 22:08:54 +01:00
|
|
|
export default ({ dark, className }) => (
|
|
|
|
<div
|
|
|
|
className={classnames(
|
|
|
|
'spinner',
|
|
|
|
{
|
|
|
|
'spinner--dark': dark,
|
|
|
|
},
|
|
|
|
className
|
|
|
|
)}
|
|
|
|
/>
|
|
|
|
);
|