text: import PropTypes from 'prop-types';
  import { Loader } from 'semantic-ui-react';
  
  const GenericLoader = ( { message } ) => (
    <div style={ { height: '30vh', paddingTop: '6rem' } }>
      <Loader size="medium" active inline="centered">
        { message || 'Loading...' }
      </Loader>
    </div>
  );
  
  GenericLoader.propTypes = {
    message: PropTypes.string,
  };
  
  export default GenericLoader;
  