Sha256: a3ebad39584d82b36f788c59b9be21a9f71d91b548900e2b7e3496f76a7736df

Contents?: true

Size: 671 Bytes

Versions: 7

Compression:

Stored size: 671 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::MasonryComponent.svg = '<svg>your SVG here</svg>'
      class MasonryComponent < 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="M10 18h5v-6h-5v6zm-6 0h5V5H4v13zm12 0h5v-6h-5v6zM10 5v6h11V5H10z"/>
          </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/masonry_component.rb
blacklight-gallery-4.8.3 app/components/blacklight/gallery/icons/masonry_component.rb
blacklight-gallery-4.8.2 app/components/blacklight/gallery/icons/masonry_component.rb
blacklight-gallery-4.8.1 app/components/blacklight/gallery/icons/masonry_component.rb
blacklight-gallery-4.8.0 app/components/blacklight/gallery/icons/masonry_component.rb
blacklight-gallery-4.7.0 app/components/blacklight/gallery/icons/masonry_component.rb
blacklight-gallery-4.6.4 app/components/blacklight/gallery/icons/masonry_component.rb