small loading spinner for thumbnail; restructure source overlay content

This commit is contained in:
Lachlan Kermode
2019-01-03 11:10:36 +00:00
parent 730de0dfd6
commit cf03cef3f7
4 changed files with 69 additions and 22 deletions

View File

@@ -1,8 +1,8 @@
import React from 'react';
const Spinner = () => {
const Spinner = ({ small }) => {
return (
<div className="spinner">
<div className={`spinner ${small ? 'small' : ''}`}>
<div className="double-bounce-overlay"></div>
<div className="double-bounce"></div>
</div>