/**
 * Loading screen renderer
 *
 * @author Rai Icasiano <ricasiano at cambridge dot org>
 */
window.AjaxLoader = React.createClass({
    render: function () {
        return (
            <div className="konakartOverlay" style={{display: true === this.props.getLoading() ? 'block' : 'none' }}>
                <div className="konakartOverlayLoading">
                    <img src="/packages/education/images/konakart/ajax-loader.svg" />
                </div>
            </div>
    );
    }
});