Sha256: be8ec57f14c6e4f6e8a803e419c9b2c5f256415f68695d09f31bd0ecc6ff0de1

Contents?: true

Size: 1.32 KB

Versions: 2

Compression:

Stored size: 1.32 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 Plus < 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:
                "M12 3.75a.75.75 0 0 1 .75.75v6.75h6.75a.75.75 0 0 1 0 1.5h-6.75v6.75a.75.75 0 0 1-1.5 0v-6.75H4.5a.75.75 0 0 1 0-1.5h6.75V4.5a.75.75 0 0 1 .75-.75Z",
              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: "M12 4.5v15m7.5-7.5h-15"
            )
          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/plus.rb
protos-icon-0.4.0 lib/protos/icon/heroicon/plus.rb