module ViewComponent::RenderComponentHelper

def render_component(component, &block)

:nodoc:
def render_component(component, &block)
  component.set_original_view_context(__vc_original_view_context) if is_a?(ViewComponent::Base)
  component.render_in(self, &block)
end