code: function (component, props) {
      var Component = React.createFactory(component);
      return ReactDomServer.renderToString(Component(props));
    }
docs: Generate a string representation of a react component
  @param {function} component - react component
  @param {object} props - default props to pass in to the component
  @return {string} string representation of your component