/**
 * Loading screen renderer
 *
 */
window.EmptyCartError = React.createClass({
    render: function () {
        return (
            <div >
                <AjaxLoader getLoading={this.props.getLoading}/>
                <div  id="orderRequestEmpty" className="konakartOverlay" style={{display: true === this.props.getAPIError() ? 'block' : 'none'}}>
                    <h3 className="konakartOverlayAPIErrorText">{this.props.getErrorMessage.message} <a href={this.props.getErrorMessage.link}>{this.props.getErrorMessage.linkText}</a></h3>
                </div>
            </div>
        );
    }
});