Access a parent component's method onClick in React
<p>So as the title suggests I'm just trying to access a parent component's method in React via a child component. I understand this can be accomplished via props, however I'm attempting to do it via an onClick event and it doesn't seem to like that. Here is a basic example of my problem. </p>

<pre><code>var Child = React.createClass({

render: function() {
    return (

        &lt;button onClick={this.onClick}&gt;Click Here&lt;/button&gt;
  );
 }
});   


var Parent = React.createClass({

onClick: function() {
    console.log('I've been clicked');
  },


render: function() {
    return (

        &lt;Child /&gt;

  );
 }
});

ReactDOM.render(&lt;Parent /&gt;, document.getElementById('Parent'));
</code></pre>

<p>How do I get the Child component's button onClick event to fire the Parent component's onClick method? Appreciate the help.</p>