render() {
    return (
      <button onClick={this.onClick}>
        {this.props.children}
      </button>
    );
  }
// Renders a button with a bound event handler.
Renders a button with a bound event handler.
Renders a button with a bound event handler .
render() {
    return (
      <button onClick={this.onClick}>
        {this.props.children}
      </button>
    );
  }
render ( ) { return ( < button onClick = { this . onClick } > { this . props . children } < / button > ) ; }
Renders a button with a bound event handler.
Renders a button with a bound event handler .