2022-09-07 15:46:54 +02:00
|
|
|
class Dsfr::CardVerticalComponent < ApplicationComponent
|
2022-09-07 13:14:56 +02:00
|
|
|
renders_many :footer_buttons
|
2022-09-06 19:13:03 +02:00
|
|
|
|
2022-09-07 15:46:54 +02:00
|
|
|
attr_reader :title, :desc
|
2022-09-06 19:13:03 +02:00
|
|
|
|
2022-09-07 13:14:56 +02:00
|
|
|
def initialize(title: nil, desc: nil)
|
2022-09-06 19:13:03 +02:00
|
|
|
@title = title
|
|
|
|
@desc = desc
|
|
|
|
end
|
|
|
|
end
|