Sha256: a503991b91930d8e766ef324a5ddd99fe9c36ddc38b5fd139e921686286b834f

Contents?: true

Size: 649 Bytes

Versions: 12

Compression:

Stored size: 649 Bytes

Contents

# frozen_string_literal: true

module Blacklight
  module Gallery
    module Icons
      # This is the gallery icon for the view type button.
      # You can override the default svg by setting:
      #   Blacklight::Gallery:Icons::ChevronLeftComponent.svg = '<svg>your SVG here</svg>'
      class ChevronLeftComponent < Blacklight::Icons::IconComponent
        self.svg = <<~SVG
          <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
            <path fill="none" d="M0 0h24v24H0V0z"/><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12l4.58-4.59z"/>
          </svg>
        SVG
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
blacklight-gallery-4.6.1 app/components/blacklight/gallery/icons/chevron_left_component.rb
blacklight-gallery-4.6.0 app/components/blacklight/gallery/icons/chevron_left_component.rb
blacklight-gallery-4.5.4 app/components/blacklight/gallery/icons/chevron_left_component.rb
blacklight-gallery-4.5.3 app/components/blacklight/gallery/icons/chevron_left_component.rb
blacklight-gallery-4.5.2 app/components/blacklight/gallery/icons/chevron_left_component.rb
blacklight-gallery-4.5.1 app/components/blacklight/gallery/icons/chevron_left_component.rb
blacklight-gallery-4.5.0 app/components/blacklight/gallery/icons/chevron_left_component.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-gallery-4.4.1/app/components/blacklight/gallery/icons/chevron_left_component.rb
blacklight-gallery-4.4.1 app/components/blacklight/gallery/icons/chevron_left_component.rb
blacklight-gallery-4.4.0 app/components/blacklight/gallery/icons/chevron_left_component.rb
blacklight-gallery-4.3.0 app/components/blacklight/gallery/icons/chevron_left_component.rb
blacklight-gallery-4.2.0 app/components/blacklight/gallery/icons/chevron_left_component.rb