title: call function inside of className react.js
body: <p>How do I call the function for <code>getClass</code> for the <code>className</code> inside this example? The way I have it written out does not seem to call <code>getClass</code>.</p>
  
  <pre><code>var CreateList = React.createClass({
      getClass: function() {
          //some code to return className
      },
      render: function() {
          return(
              &lt;div className{this.getClass}&gt;Example&lt;/div&gt;
          );
      }
  });
  </code></pre>