12 lines
243 B
Ruby
12 lines
243 B
Ruby
# frozen_string_literal: true
|
|
|
|
module FormElements
|
|
class FieldsetComponent < ViewComponent::Base
|
|
def initialize(tag: "li", title:, description: nil)
|
|
@tag = tag
|
|
@title = title
|
|
@descripton = description
|
|
end
|
|
end
|
|
end
|