Sha256: 86ecdba3e5ece998bb8383e96546bbf8513afa1fa64d02c292f3239d22e5377d

Contents?: true

Size: 694 Bytes

Versions: 7

Compression:

Stored size: 694 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::GalleryComponent.svg = '<svg>your SVG here</svg>'
      class GalleryComponent < Blacklight::Icons::IconComponent
        self.svg = <<~SVG
          <svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" width="24" height="24" viewBox="0 0 24 24">
            <path fill="none" d="M0 0h24v24H0V0z"/><path d="M4 11h5V5H4v6zm0 7h5v-6H4v6zm6 0h5v-6h-5v6zm6 0h5v-6h-5v6zm-6-7h5V5h-5v6zm6-6v6h5V5h-5z"/>
          </svg>
        SVG
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
blacklight-gallery-4.8.4 app/components/blacklight/gallery/icons/gallery_component.rb
blacklight-gallery-4.8.3 app/components/blacklight/gallery/icons/gallery_component.rb
blacklight-gallery-4.8.2 app/components/blacklight/gallery/icons/gallery_component.rb
blacklight-gallery-4.8.1 app/components/blacklight/gallery/icons/gallery_component.rb
blacklight-gallery-4.8.0 app/components/blacklight/gallery/icons/gallery_component.rb
blacklight-gallery-4.7.0 app/components/blacklight/gallery/icons/gallery_component.rb
blacklight-gallery-4.6.4 app/components/blacklight/gallery/icons/gallery_component.rb