Created
September 22, 2016 13:18
-
-
Save johnrhampton/b69e115a469b2554bf1d1fdbdeaf62d9 to your computer and use it in GitHub Desktop.
Revisions
-
johnrhampton created this gist
Sep 22, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,27 @@ import React from 'react'; import classNames from 'classnames'; export default ({loading}) => { let loading_class = classNames('dissolve-animation', { 'hide': !loading.show }); let message_class = classNames('loading-overlay-message', { 'hide': !loading.message }); return ( <div className={loading_class}> <div className="page-loading"> <div className={message_class}> {loading.message} </div> <div className="loading-overlay"> <div className="mdl-spinner mdl-js-spinner is-active"></div> </div> </div> </div> ); }