Class: PhlexIcons::Radix::CaretSort

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/radix/caret_sort.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_sort.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:
        'M4.93186 8.93182C5.10759 8.75609 5.39284 8.75609 5.56858 8.93182L7.50022 10.8635L9.43186 8.93182L9.50217 8.87421C9.67686 8.75873 9.91475 8.77799 10.0686 8.93182C10.2222 9.08567 10.2417 9.32361 10.1262 9.49823L10.0686 9.56854L7.81858 11.8185L7.74826 11.8762C7.57364 11.9916 7.33571 11.9722 7.18186 11.8185L4.93186 9.56854C4.75612 9.39281 4.75612 9.10756 4.93186 8.93182ZM7.50022 3.04999C7.61949 3.05004 7.73423 3.09748 7.81858 3.18182L10.0686 5.43182C10.2441 5.60758 10.2442 5.89287 10.0686 6.06854C9.8929 6.24421 9.60761 6.24408 9.43186 6.06854L7.50022 4.1369L5.56858 6.06854L5.49826 6.12616C5.32364 6.24162 5.08571 6.22221 4.93186 6.06854C4.77803 5.91471 4.75876 5.67682 4.87424 5.50214L4.93186 5.43182L7.18186 3.18182C7.26625 3.09743 7.38087 3.04999 7.50022 3.04999Z',
      fill: 'currentColor'
    )
  end
end