text: // Copyright (c) YugaByte, Inc.
  
  import React, { Component } from 'react';
  import PropTypes from 'prop-types';
  
  import YBLoadingIcon from './YBLoadingIcon';
  
  export default class YBLoading extends Component {
    static propTypes = {
      size: PropTypes.oneOf(['xsmall', 'small', 'medium', 'large', 'inline']),
    };
  
    render() {
      return (
        <div className="text-center loading-icon-container">
          <YBLoadingIcon size={this.props.size}/>
          <div>Loading</div>
        </div>
      );
    }
  }
  