module ViewComponent::PolymorphicSlots::ClassMethods
def renders_many(slot_name, callable = nil)
def renders_many(slot_name, callable = nil) return super unless callable.is_a?(Hash) && callable.key?(:types) validate_plural_slot_name(slot_name) register_polymorphic_slot(slot_name, callable[:types], collection: true) end