Class: PhlexIcons::Radix::Strikethrough

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/radix/strikethrough.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/strikethrough.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:
        'M10.5003 2.75C10.7763 2.75018 11.0003 2.97397 11.0003 3.25V7.09961H12.5003L12.5814 7.1084C12.7632 7.14602 12.9007 7.30701 12.9007 7.5C12.9007 7.693 12.7632 7.85397 12.5814 7.8916L12.5003 7.90039H11.0003V8.5498C11.0003 10.4827 9.43315 12.0496 7.50031 12.0498C5.56731 12.0498 4.00031 10.4828 4.00031 8.5498V7.90039H2.50031C2.27939 7.90039 2.09991 7.72091 2.09991 7.5C2.09993 7.2791 2.2794 7.09961 2.50031 7.09961H4.00031V3.25C4.00031 2.97386 4.22416 2.75 4.50031 2.75C4.77629 2.75018 5.00031 2.97397 5.00031 3.25V7.09961H10.0003V3.25C10.0003 2.97386 10.2242 2.75 10.5003 2.75ZM5.00031 7.90039V8.5498C5.00031 9.93052 6.11959 11.0498 7.50031 11.0498C8.88086 11.0496 10.0003 9.9304 10.0003 8.5498V7.90039H5.00031Z',
      fill: 'currentColor'
    )
  end
end