Module: MojComponent::Helpers
- Defined in:
- app/helpers/moj_component/helpers.rb
Instance Method Summary collapse
- #moj_alert ⇒ Object
- #moj_header ⇒ Object
- #moj_interruption_card ⇒ Object
- #moj_sub_navigation ⇒ Object
Instance Method Details
#moj_alert ⇒ Object
5 6 7 |
# File 'app/helpers/moj_component/helpers.rb', line 5 def moj_alert(**, &) render(MojComponent::AlertComponent.new(**), &) end |
#moj_header ⇒ Object
9 10 11 |
# File 'app/helpers/moj_component/helpers.rb', line 9 def moj_header(**, &) render(MojComponent::HeaderComponent.new(**), &) end |
#moj_interruption_card ⇒ Object
13 14 15 |
# File 'app/helpers/moj_component/helpers.rb', line 13 def moj_interruption_card(**, &) render(MojComponent::InterruptionCardComponent.new(**), &) end |
#moj_sub_navigation ⇒ Object
17 18 19 |
# File 'app/helpers/moj_component/helpers.rb', line 17 def (**, &) render(MojComponent::SubNavigationComponent.new(**), &) end |