Sha256: 3f8662987a9388b5b52e86aee6e5ef032fc72b2367503037b8ff7ca4ae9e8e11
Contents?: true
Size: 766 Bytes
Versions: 95
Compression:
Stored size: 766 Bytes
Contents
# typed: true # frozen_string_literal: true module Primer module Alpha class ActionMenu # This component is part of <%= link_to_component(Primer::Alpha::ActionMenu) %> and should not be # used as a standalone component. class Group < Primer::Alpha::ActionList # Heading text rendered above the list of items. # # @param 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 def with_divider raise "ActionMenu groups cannot have dividers" end end end end end
Version data entries
95 entries across 95 versions & 2 rubygems