Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const Input = () => <input type="text" onChange={this.props.update} />;
- class Input extends React.Component {
- render(){
- return (
- <input type="text" onChange={this.props.update} />
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement