Advertisement
Guest User

Untitled

a guest
Mar 3rd, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const Input = () => <input type="text" onChange={this.props.update} />;
  2.  
  3. class Input extends React.Component {
  4.   render(){
  5.     return (
  6.       <input type="text" onChange={this.props.update} />
  7.     );
  8.   }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement