Method: Primer::Alpha::TabContainer#initialize

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

#initialize(**system_arguments) ⇒ TabContainer

Returns a new instance of TabContainer.

Parameters:

  • system_arguments (Hash)

    <%= link_to_system_arguments_docs %>

[View source]

11
12
13
14
# File 'app/components/primer/alpha/tab_container.rb', line 11

def initialize(**system_arguments)
  @system_arguments = deny_tag_argument(**system_arguments)
  @system_arguments[:tag] = "tab-container"
end