import React, { Component } from 'react'; export default class PlaySpeedSelector extends Component { constructor(props) { super(props); this.onChange = this.onChange.bind(this); } onChange(value) { if (this.props.onPlaySpeedChanged) { this.props.onPlaySpeedChanged(Number(value.currentTarget.value)); } } render() { return (
); } }