Sha256: 08d859e4df21cde65af48737c7857f90318f361f15a2fd1efefeaad71c5ac36a

Contents?: true

Size: 1.72 KB

Versions: 2

Compression:

Stored size: 1.72 KB

Contents

# frozen_string_literal: true

# This file was generated by the `generators/heroicon.rb` generator.

# rubocop:disable Layout/LineLength
module Protos
  module Icon
    module Heroicon
      class MapPin < HeroiconComponent
        def solid
          svg(
            **attrs,
            xmlns: "http://www.w3.org/2000/svg",
            viewbox: "0 0 24 24",
            fill: "currentColor",
            aria_hidden: "true",
            data_slot: "icon"
          ) do |s|
            s.path(
              fill_rule: "evenodd",
              d:
                "m11.54 22.351.07.04.028.016a.76.76 0 0 0 .723 0l.028-.015.071-.041a16.975 16.975 0 0 0 1.144-.742 19.58 19.58 0 0 0 2.683-2.282c1.944-1.99 3.963-4.98 3.963-8.827a8.25 8.25 0 0 0-16.5 0c0 3.846 2.02 6.837 3.963 8.827a19.58 19.58 0 0 0 2.682 2.282 16.975 16.975 0 0 0 1.145.742ZM12 13.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",
              clip_rule: "evenodd"
            )
          end
        end

        def outline
          svg(
            **attrs,
            xmlns: "http://www.w3.org/2000/svg",
            fill: "none",
            viewbox: "0 0 24 24",
            stroke_width: "1.5",
            stroke: "currentColor",
            aria_hidden: "true",
            data_slot: "icon"
          ) do |s|
            s.path(
              stroke_linecap: "round",
              stroke_linejoin: "round",
              d: "M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"
            )
            s.path(
              stroke_linecap: "round",
              stroke_linejoin: "round",
              d:
                "M19.5 10.5c0 7.142-7.5 11.25-7.5 11.25S4.5 17.642 4.5 10.5a7.5 7.5 0 1 1 15 0Z"
            )
          end
        end
      end
    end
  end
end
# rubocop:enable Layout/LineLength

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
protos-icon-0.4.1 lib/protos/icon/heroicon/map_pin.rb
protos-icon-0.4.0 lib/protos/icon/heroicon/map_pin.rb