public render()

in src/components/Transport/index.tsx [121:141]


  public render() {
    const {
      iconSize,
      playing,
      showPlay,
    } = this.props;

    this.handlers = {
      onPlay: this.props.onPlay,
      onStop: this.props.onStop,
      onBack: this.props.onBack,
      onForward: this.props.onForward,
      onStepForward: this.props.onStepForward,
      onStepBack: this.props.onStepBack,
    };

    let playPauseButton = <div />;
    if (showPlay) {
      playPauseButton = playing ?
        (<StopIcon size={iconSize} onClick={() => this.stop()} />) :
        (<PlayIcon size={iconSize} onClick={() => this.play()} />)