add copy button component

This commit is contained in:
Kara Diaby 2022-12-01 09:56:30 +01:00
parent 92b4c31293
commit 1efcacd845

View file

@ -0,0 +1,7 @@
class Dsfr::CopyButtonComponent < ApplicationComponent
def initialize(text:, title:, success: nil)
@text = text
@title = title
@success = success
end
end