demarches-normaliennes/app/components/dsfr/card_vertical_component.rb
2022-11-04 09:08:41 +00:00

12 lines
278 B
Ruby

class Dsfr::CardVerticalComponent < ApplicationComponent
renders_many :footer_buttons
attr_reader :title, :desc, :tags, :error
def initialize(title: nil, desc: nil, tags: nil, error: nil)
@title = title
@desc = desc
@tags = tags
@error = error
end
end