demarches-normaliennes/app/components/dsfr/card_vertical_component.rb
2024-08-22 09:26:48 +02:00

14 lines
309 B
Ruby

# frozen_string_literal: true
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