Helper that allows you to render a component by specifying the component name