class Primer::Beta::Breadcrumbs::Item

used as a standalone component.
This component is part of ‘Primer::Beta::Breadcrumbs` and should not be

def call

def call
  link_arguments = { href: @href }
  if selected
    link_arguments[:"aria-current"] = "page"
    @system_arguments[:classes] = "#{@system_arguments[:classes]} breadcrumb-item-selected"
  end
  render(Primer::BaseComponent.new(**@system_arguments)) do
    render(Primer::Beta::Link.new(**link_arguments)) { content }
  end
end

def initialize(href:, **system_arguments)

def initialize(href:, **system_arguments)
  @href = href
  @system_arguments = deny_tag_argument(**system_arguments)
  @selected = false
  @system_arguments[:tag] = :li
  @system_arguments[:classes] = "breadcrumb-item #{@system_arguments[:classes]}"
end