demarches-normaliennes/app/components/dsfr/toggle_component.rb
2023-05-09 14:46:14 +02:00

9 lines
219 B
Ruby

class Dsfr::ToggleComponent < ApplicationComponent
def initialize(form:, target:, title:, hint:, disabled:)
@form = form
@target = target
@title = title
@hint = hint
@disabled = disabled
end
end