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

8 lines
170 B
Ruby
Raw Normal View History

2022-12-01 09:56:30 +01:00
class Dsfr::CopyButtonComponent < ApplicationComponent
def initialize(text:, title:, success: nil)
@text = text
@title = title
@success = success
end
end