Skip to content

Instantly share code, notes, and snippets.

@vvo
Last active October 20, 2015 14:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vvo/3948a3a284be96bc5f4b to your computer and use it in GitHub Desktop.
Save vvo/3948a3a284be96bc5f4b to your computer and use it in GitHub Desktop.
Button.js
import React from 'react';
import Label from './Label';
class Button extends React.Component {
render() {
return <div onClick={this.props.click}><Label name={this.props.name} /></div>;
}
}
export default Button;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment