Sha256: 6f5ffc397b6822d26496393151d5b337674456fb3b93b0b8579da228ea338104
Contents?: true
Size: 385 Bytes
Versions: 2
Compression:
Stored size: 385 Bytes
Contents
# frozen_string_literal: true module Spotlight # This draws a navigation link in the header. # A downstream application may switch out the implementation to use different styles, etc. class HeaderNavigationLinkComponent < ViewComponent::Base def initialize(path:, active:, label:) @path = path @active = active @label = label super end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
blacklight-spotlight-4.6.1 | app/components/spotlight/header_navigation_link_component.rb |
blacklight-spotlight-4.6.0 | app/components/spotlight/header_navigation_link_component.rb |