Sha256: a90073e05f3757b2da14ea6f6f339529891455da07d8dbb6341a7752c9321f75

Contents?: true

Size: 1.64 KB

Versions: 14

Compression:

Stored size: 1.64 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Hero
      class ArrowPath < Base
        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:
                'M4.755 10.059a7.5 7.5 0 0 1 12.548-3.364l1.903 1.903h-3.183a.75.75 0 1 0 0 1.5h4.992a.75.75 0 0 0 .75-.75V4.356a.75.75 0 0 0-1.5 0v3.18l-1.9-1.9A9 9 0 0 0 3.306 9.67a.75.75 0 1 0 1.45.388Zm15.408 3.352a.75.75 0 0 0-.919.53 7.5 7.5 0 0 1-12.548 3.364l-1.902-1.903h3.183a.75.75 0 0 0 0-1.5H2.984a.75.75 0 0 0-.75.75v4.992a.75.75 0 0 0 1.5 0v-3.18l1.9 1.9a9 9 0 0 0 15.059-4.035.75.75 0 0 0-.53-.918Z',
              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:
                'M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99'
            )
          end
        end
      end
    end
  end
end
# rubocop:enable Layout/LineLength

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
phlex-icons-hero-1.6.0 lib/phlex/icons/hero/arrow_path.rb
phlex-icons-1.6.0 lib/phlex/icons/hero/arrow_path.rb
phlex-icons-1.5.0 lib/phlex/icons/hero/arrow_path.rb
phlex-icons-hero-1.5.0 lib/phlex/icons/hero/arrow_path.rb
phlex-icons-hero-1.4.0 lib/phlex/icons/hero/arrow_path.rb
phlex-icons-1.4.0 lib/phlex/icons/hero/arrow_path.rb
phlex-icons-hero-1.3.0 lib/phlex/icons/hero/arrow_path.rb
phlex-icons-1.3.0 lib/phlex/icons/hero/arrow_path.rb
phlex-icons-hero-1.2.0 lib/phlex/icons/hero/arrow_path.rb
phlex-icons-1.2.0 lib/phlex/icons/hero/arrow_path.rb
phlex-icons-1.1.0 lib/phlex/icons/hero/arrow_path.rb
phlex-icons-hero-1.1.0 lib/phlex/icons/hero/arrow_path.rb
phlex-icons-1.0.0 lib/phlex/icons/hero/arrow_path.rb
phlex-icons-hero-1.0.0 lib/phlex/icons/hero/arrow_path.rb