17 lines
271 B
React
17 lines
271 B
React
|
import React from "react";
|
||
|
import classnames from "classnames";
|
||
|
|
||
|
export default ({ dark, className }) => {
|
||
|
return (
|
||
|
<div
|
||
|
className={classnames(
|
||
|
"spinner",
|
||
|
{
|
||
|
"spinner--dark": dark,
|
||
|
},
|
||
|
className
|
||
|
)}
|
||
|
/>
|
||
|
);
|
||
|
};
|