demarches-normaliennes/app/components/dsfr/copy_button_component.rb
2022-12-02 11:30:49 +01:00

7 lines
170 B
Ruby

class Dsfr::CopyButtonComponent < ApplicationComponent
def initialize(text:, title:, success: nil)
@text = text
@title = title
@success = success
end
end