import React from 'react'; import lbry from '../lbry.js'; import {BusyMessage, Icon} from './common.js'; import Link from 'component/link' class LoadScreen extends React.Component { static propTypes = { message: React.PropTypes.string.isRequired, details: React.PropTypes.string, isWarning: React.PropTypes.bool, } constructor(props) { super(props); this.state = { message: null, details: null, isLagging: false, }; } static defaultProps = { isWarning: false, } render() { const imgSrc = lbry.imagePath('lbry-white-485x160.png'); return (
LBRY

{!this.props.isWarning ? : {' ' + this.props.message} }

{this.props.details}
); } } export default LoadScreen;