import * as React from 'react'; import IReactComponentProps from '../../../common/structures/IReactComponentProps'; import classnames from 'classnames'; import styles from './BigLoader.scss'; import LoadingIndicator from '../LoadingIndicator/LoadingIndicator'; import { Title } from '../../text/Title/Title'; interface IProps extends IReactComponentProps { color?: 'Green' | 'Gray'; message?: string; } export default class BigLoader extends React.Component { static defaultProps: Partial = { color: 'Green', }; render () { return (
{ this.props.message && {this.props.message} }
); } }