Sha256: fad2209b0f825b68d9af611a461410ad94b68fe49db488dbee9261d02f3fa8fe

Contents?: true

Size: 1.52 KB

Versions: 25

Compression:

Stored size: 1.52 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Hero
      class ExclamationTriangle < Base
        def solid
          svg(
            class: classes,
            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:
                'M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z',
              clip_rule: 'evenodd'
            )
          end
        end

        def outline
          svg(
            class: classes,
            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 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z'
            )
          end
        end
      end
    end
  end
end
# rubocop:enable Layout/LineLength

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
phlex-icons-0.17.0 lib/phlex/icons/hero/exclamation_triangle.rb
phlex-icons-hero-0.17.0 lib/phlex/icons/hero/exclamation_triangle.rb
phlex-icons-0.16.0 lib/phlex/icons/hero/exclamation_triangle.rb
phlex-icons-hero-0.16.0 lib/phlex/icons/hero/exclamation_triangle.rb
phlex-icons-0.15.0 lib/phlex/icons/hero/exclamation_triangle.rb
phlex-icons-hero-0.15.0 lib/phlex/icons/hero/exclamation_triangle.rb
phlex-icons-0.14.0 lib/phlex/icons/hero/exclamation_triangle.rb
phlex-icons-hero-0.14.0 lib/phlex/icons/hero/exclamation_triangle.rb
phlex-icons-hero-0.13.0 lib/phlex/icons/hero/exclamation_triangle.rb
phlex-icons-0.13.0 lib/phlex/icons/hero/exclamation_triangle.rb
phlex-icons-0.12.0 lib/phlex/icons/hero/exclamation_triangle.rb
phlex-icons-hero-0.12.0 lib/phlex/icons/hero/exclamation_triangle.rb
phlex-icons-0.11.0 lib/phlex/icons/hero/exclamation_triangle.rb
phlex-icons-hero-0.11.0 lib/phlex/icons/hero/exclamation_triangle.rb
phlex-icons-0.10.0 lib/phlex/icons/hero/exclamation_triangle.rb
phlex-icons-0.9.0 lib/phlex/icons/hero/exclamation_triangle.rb
phlex-icons-hero-0.9.0 lib/phlex/icons/hero/exclamation_triangle.rb
phlex-icons-0.8.0 lib/phlex/icons/hero/exclamation_triangle.rb
phlex-icons-0.7.0 lib/phlex/icons/hero/exclamation_triangle.rb
phlex-icons-0.6.0 lib/phlex/icons/hero/exclamation_triangle.rb