9 lines
136 B
9 lines
136 B
3 years ago
|
class DocumentListComponent < ViewComponent::Base
|
||
|
attr_reader :items
|
||
|
|
||
|
def initialize(items:)
|
||
|
@items = items
|
||
|
super
|
||
|
end
|
||
|
end
|