Method: Primer::Alpha::ActionMenu#with_divider

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

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

Adds a divider to the list.

Parameters:

  • system_arguments (Hash)

    The arguments accepted by <%= link_to_component(Primer::Alpha::ActionList) %>‘s `divider` slot.


281
282
283
# File 'app/components/primer/alpha/action_menu.rb', line 281

def with_divider(**system_arguments, &block)
  @list.with_divider(**system_arguments, &block)
end