import React, { Component } from 'react'; class UploadButton extends Component { constructor(props) { super(props); this.onChange = this.onChange.bind(this); } onChange() { this.props.onChange(this.input); } render() { return ( ); } } export default UploadButton;