4 5 6
# File 'lib/webpacker/react/helpers.rb', line 4 def react_component(component_name, props = {}, options = {}) Webpacker::React::Component.new(component_name).render(props, options) end