import Box from '../UI/Box/Box';
import React from 'react';
import './DownloadProgress.css';

export default props => {

  return (
    <Box dxStyle={{width: '380px', height: 'auto', padding: '5px'}}>
      <div style={{width: '100%', height: 'auto'}}>
        <h1 style={{width: '100%', textAlign: 'center'}}>{'Downloading ' + props.display}</h1>
      </div>
      <progress max={100.0} id={'download_progress'}
                style={{width: '100%'}}
                value={props.progress}/>
    </Box>);
};