class Primer::Alpha::ActionMenu::Group

used as a standalone component.
This component is part of <%= link_to_component(Primer::Alpha::ActionMenu) %> and should not be

def with_divider

def with_divider
  raise "ActionMenu groups cannot have dividers"
end

def with_heading(**system_arguments, &block)

Parameters:
  • system_arguments (Hash) -- The arguments accepted by <%= link_to_component(Primer::Alpha::ActionMenu::Heading) %>.
def with_heading(**system_arguments, &block)
  super(component_klass: Primer::Alpha::ActionMenu::Heading, **system_arguments, &block)
end