This commit is contained in:
Jaco Greeff 2017-04-26 16:31:13 +02:00
parent 6c702c7b6a
commit 549367fcd6
1 changed files with 2 additions and 4 deletions

View File

@ -19,13 +19,11 @@ import CircularProgress from 'material-ui/CircularProgress';
import styles from './loading.css';
export function Loading ({ className, size, thickness }) {
const computedSize = size * 60;
export default function Loading ({ className, size, thickness }) {
return (
<div className={ [ styles.loading, className ].join(' ') }>
<CircularProgress
size={ computedSize }
size={ size * 60 }
thickness={ thickness }
/>
</div>