import React from 'react'; import styles from './Volume.css'; import VolumeOff from './../Icon/volume_off.svg'; import VolumeUp from './../Icon/volume_up.svg'; export default ({ onChange, onClick, volume, muted, className, ariaLabelMute, ariaLabelUnmute, ariaLabelVolume }) => { const volumeValue = muted || !volume ? 0 : +volume; const isSilent = muted || volume <= 0; return (