1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

player bar appearance

This commit is contained in:
Fedor Katurov 2019-10-15 16:29:49 +07:00
parent 794318ed80
commit 87b9b5f514
6 changed files with 118 additions and 16 deletions

View file

@ -86,10 +86,11 @@ const AudioPlayerUnconnected = ({
{playing && status === PLAYER_STATES.PLAYING ? <Icon icon="pause" /> : <Icon icon="play" />}
</div>
<div className={styles.content}>
<div className={styles.title}>{title || 'Unknown'}</div>
<div className={styles.progress} onClick={onSeek}>
<div className={styles.bar} style={{ width: `${progress.progress}%` }} />
</div>
<div className={styles.title}>{title || 'Unknown'}</div>
</div>
</div>
);