Method: Primer::Alpha::ActionMenu::List#with_divider

Defined in:
app/components/primer/alpha/action_menu/list.rb

#with_divider(**system_arguments, &block) ⇒ Object

[View source]

48
49
50
51
52
53
54
# File 'app/components/primer/alpha/action_menu/list.rb', line 48

def with_divider(**system_arguments, &block)
  @items << {
    type: :divider,
    kwargs: system_arguments,
    block: block
  }
end