Added className to Loader

This commit is contained in:
2018-06-06 07:54:02 +10:00
parent 806f283120
commit fe5348679e

View File

@ -25,7 +25,7 @@ import React from 'react';
export default function(props) {
return (
<span className="o-loader">
<span className={"o-loader"+(props.className?" "+props.className:"")}>
<svg width="38" height="38" viewBox="0 0 38 38" xmlns="http://www.w3.org/2000/svg" className="o-loader__image">
<g fill="none" fillRule="evenodd">
<g transform="translate(1 1)" strokeWidth="2">