class Primer::Alpha::Layout::Sidebar

The layout’s sidebar content.

def call

def call
  render(Primer::BaseComponent.new(**@system_arguments)) { content }
end

def initialize(tag: TAG_DEFAULT, **system_arguments)

def initialize(tag: TAG_DEFAULT, **system_arguments)
  @system_arguments = system_arguments
  @system_arguments[:tag] = fetch_or_fallback(TAG_OPTIONS, tag, TAG_DEFAULT)
  @system_arguments[:classes] = class_names(
    "Layout-sidebar",
    @system_arguments[:classes]
  )
end