demarches-normaliennes/app/components/dsfr/card_vertical_component.rb

13 lines
278 B
Ruby
Raw Normal View History

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