import React from 'react'; import Icon from '../Icon'; import * as helpers from '../../helpers'; export default class VolumeControl extends React.Component{ constructor(props){ super(props); this.handleChange = helpers.throttle(this.handleChange.bind(this), 100); } handleChange(value){ this.props.onVolumeChange(value, this.props.volume); } render(){ return (