Changing `renderComponent` to `render` in example

`React.renderComponent` is now deprecated, modifying the example to use `React.render`