Method: Primer::Alpha::ActionMenu::List#with_group
- Defined in:
- app/components/primer/alpha/action_menu/list.rb
#with_group(**system_arguments, &block) ⇒ Object
22 23 24 25 26 27 28 29 30 |
# File 'app/components/primer/alpha/action_menu/list.rb', line 22 def with_group(**system_arguments, &block) @has_group = true @items << { type: :group, kwargs: system_arguments, block: block } end |