diff options
author | wr148d <wr148d@att.com> | 2021-01-15 15:32:00 -0500 |
---|---|---|
committer | wr148d <wr148d@att.com> | 2021-02-11 09:47:17 -0500 |
commit | 5ee7367a101143715c2869d72ea4a6fbf55f5af6 (patch) | |
tree | 84bf43601c0cce4fb37b5b3b494e113c96d5591e /src/utils/SpinnerContainer.jsx | |
parent | ddc05d4ea0254b427fea6ec80e2b03950eeca4ce (diff) |
Updated Sparky to add ECOMP functionality Browse, Specialized Search, BYOQ, and the Builder FE Updates
Issue-ID: AAI-3250
Change-Id: I576e37f77f7e9b40d72e4a5e7de645e9f62bc7d2
Signed-off-by: wr148d <wr148d@att.com>
Diffstat (limited to 'src/utils/SpinnerContainer.jsx')
-rw-r--r-- | src/utils/SpinnerContainer.jsx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/utils/SpinnerContainer.jsx b/src/utils/SpinnerContainer.jsx index 17e6e58..648a2e4 100644 --- a/src/utils/SpinnerContainer.jsx +++ b/src/utils/SpinnerContainer.jsx @@ -19,16 +19,17 @@ * ============LICENSE_END========================================================= */ import React, { Component } from 'react'; -import { PropTypes } from 'prop-types'; import { ClipLoader } from 'react-spinners'; -import {COLOR_BLUE} from 'utils/GlobalConstants.js'; +import {COLOR_BLUE} from './GlobalExtConstants.js'; +import { PropTypes } from 'prop-types'; class SpinnerContainer extends Component { render() { // if loading, show content as busy (ex: grey out) - const spinnerContentClass = this.props.loading ? 'spin-content' : ''; + const spinnerContentClass = this.props.loading ? 'spinner-content' : ''; + const containerClass = this.props.fullscreen ? 'col-lg-12 spinner-container' : 'spinner-container'; return ( - <div className='spin-container'> + <div className={containerClass}> <div className='spinner'> <ClipLoader color={COLOR_BLUE} loading={this.props.loading} /> </div> |