Method: Primer::Beta::NavList#with_group

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

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

Adds a group to the list. A group is a list of links and a (required) heading.

Parameters:

  • system_arguments (Hash)

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

[View source]

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

def with_group(**system_arguments, &block)
end