Skip to content

Commit 3376533

Browse files
authored
Update 0003-polymorphic-slot-definitions.md (#2044)
Removed `include ViewComponent::PolymorphicSlots` as this is not necessary anymore
1 parent 33b5684 commit 3376533

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docs/adrs/0003-polymorphic-slot-definitions.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ Here's how the `Item` sub-component of the list example above would be implement
5252

5353
```ruby
5454
class Item < ViewComponent::Base
55-
include ViewComponent::PolymorphicSlots
5655

5756
renders_one :leading_visual, types: {
5857
icon: IconComponent, avatar: AvatarComponent

0 commit comments

Comments
 (0)