Method: Primer::Beta::NavList#with_divider

Defined in:
app/components/primer/beta/nav_list.rb

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

Adds a divider to the list. Dividers visually separate items and groups.

Parameters:

  • system_arguments (Hash)

    The arguments accepted by <%= link_to_component(Primer::Beta::NavList::Divider) %>.

[View source]

4
5
# File 'app/components/primer/beta/nav_list.rb', line 4

def with_divider(**system_arguments, &block)
end