lib/view_component/render_component_to_string_helper.rb
# frozen_string_literal: true module ViewComponent module RenderComponentToStringHelper # :nodoc: def render_component_to_string(component) component.render_in(self.view_context) end end end
# frozen_string_literal: true module ViewComponent module RenderComponentToStringHelper # :nodoc: def render_component_to_string(component) component.render_in(self.view_context) end end end