Module: Components::SelectHelper
- Defined in:
- app/helpers/components/select_helper.rb
Instance Method Summary collapse
Instance Method Details
#render_select(name:, **options, &block) ⇒ Object
2 3 4 5 |
# File 'app/helpers/components/select_helper.rb', line 2 def render_select(name:, **, &block) component = Shadcn::SelectComponent.new(name: name, view_context: self, **, &block) component.call end |