module ViewComponent::UseHelpers
def define_helper(helper_method:, source:)
def define_helper(helper_method:, source:) return "__vc_original_view_context.#{helper_method}(*args, &block)" unless source.present? "#{source}.instance_method(:#{helper_method}).bind(self).call(*args, &block)" end