import React from 'react'; class TitleInput extends React.Component { constructor (props) { super(props); this.handleInput = this.handleInput.bind(this); } handleInput (e) { e.preventDefault(); const name = e.target.name; const value = e.target.value; this.props.updateUploaderState(name, value); } render () { return ( ); } } module.exports = TitleInput;