Sha256: 7d58e7c70ca263fce82da6dacbd1238fc3434aea7f0bcf85624fd99c7c52c6f9

Contents?: true

Size: 686 Bytes

Versions: 3

Compression:

Stored size: 686 Bytes

Contents

# frozen_string_literal: true

module Phlex
  module Lucide
    class ImageIcon < Phlex::Lucide::Icon
      def view_template
        svg(
          xmlns: "http://www.w3.org/2000/svg",
          width: size,
          height: size,
          viewbox: "0 0 24 24",
          fill: "none",
          stroke: "currentColor",
          stroke_width: "2",
          stroke_linecap: "round",
          stroke_linejoin: "round",
          **props
        ) do |s|
          s.rect(width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2")
          s.circle(cx: "9", cy: "9", r: "2")
          s.path(d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21")
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
phlex-lucide-0.428.0 lib/phlex/lucide/icons/image_icon.rb
phlex-lucide-0.427.1 lib/phlex/lucide/icons/image_icon.rb
phlex-lucide-0.427.0 lib/phlex/lucide/icons/image_icon.rb