import React from 'react' import { Modal } from 'component/modal' import {Line} from 'rc-progress'; import Link from 'component/link' class DownloadingModal extends React.Component { render() { const { downloadProgress, downloadComplete, startUpgrade, cancelUpgrade, } = this.props return ( Downloading Update{downloadProgress ? `: ${downloadProgress}%` : null} {downloadComplete ? (

Click "Begin Upgrade" to start the upgrade process.

The app will close, and you will be prompted to install the latest version of LBRY.

After the install is complete, please reopen the app.

) : null }
{downloadComplete ? : null}
) } } export default DownloadingModal