Module: StimulusPlumbers::Helpers::CardHelper

Included in:
StimulusPlumbers::Helpers
Defined in:
lib/stimulus_plumbers/helpers/card_helper.rb

Instance Method Summary collapse

Instance Method Details

#sp_card(title: nil, **html_options, &block) ⇒ Object



6
7
8
# File 'lib/stimulus_plumbers/helpers/card_helper.rb', line 6

def sp_card(title: nil, **html_options, &block)
  card_renderer.card(title: title, **html_options, &block)
end

#sp_card_section(title: nil, **html_options, &block) ⇒ Object



10
11
12
# File 'lib/stimulus_plumbers/helpers/card_helper.rb', line 10

def sp_card_section(title: nil, **html_options, &block)
  card_renderer.section(title: title, **html_options, &block)
end