Class: DsfrComponent::ProconnectButtonComponent
- Defined in:
- app/components/dsfr_component/proconnect_button_component.rb
Constant Summary
Constants inherited from Base
Base::HEADING_LEVELS, Base::SIZES
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(target:, button_overrides: {}, html_attributes: {}) ⇒ ProconnectButtonComponent
constructor
A new instance of ProconnectButtonComponent.
Constructor Details
#initialize(target:, button_overrides: {}, html_attributes: {}) ⇒ ProconnectButtonComponent
Returns a new instance of ProconnectButtonComponent.
7 8 9 10 11 12 |
# File 'app/components/dsfr_component/proconnect_button_component.rb', line 7 def initialize(target:, button_overrides: {}, html_attributes: {}) @target = target @button_overrides = super(html_attributes: html_attributes) end |