Class: PhlexIcons::Radix::CaretLeft

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/radix/caret_left.rb

Instance Attribute Summary

Attributes inherited from Base

#attrs

Instance Method Summary collapse

Methods inherited from Base

#initialize

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from PhlexIcons::Radix::Base

Instance Method Details

#view_templateObject



7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'lib/phlex-icons/radix/caret_left.rb', line 7

def view_template
  svg(
    **attrs,
    viewbox: '0 0 15 15',
    fill: 'none',
    xmlns: 'http://www.w3.org/2000/svg'
  ) do |s|
    s.path(
      d:
        'M5.04988 7.50012C5.04994 7.6194 5.09737 7.73413 5.18172 7.81848L8.18172 10.8185L8.25203 10.8761C8.4267 10.9914 8.66466 10.9723 8.81844 10.8185C8.97222 10.6647 8.99141 10.4267 8.87606 10.2521L8.81844 10.1818L6.1368 7.50012L8.81844 4.81848C8.99411 4.64281 8.99398 4.35751 8.81844 4.18176C8.6427 4.00602 8.35746 4.00602 8.18172 4.18176L5.18172 7.18176C5.09733 7.26615 5.04988 7.38077 5.04988 7.50012Z',
      fill: 'currentColor'
    )
  end
end