Class: PhlexIcons::Radix::Cross2

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/radix/cross_2.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/cross_2.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.9688 3.21871C11.1933 2.99416 11.5567 2.99416 11.7813 3.21871C12.0056 3.44328 12.0057 3.80673 11.7813 4.03121L8.31251 7.49996L11.7813 10.9687L11.8555 11.0586C12.0026 11.2817 11.9777 11.5848 11.7813 11.7812C11.5849 11.9776 11.2818 12.0026 11.0586 11.8554L10.9688 11.7812L7.50001 8.31246L4.03126 11.7812C3.80677 12.0057 3.44332 12.0056 3.21876 11.7812C2.99421 11.5567 2.99421 11.1933 3.21876 10.9687L6.68751 7.49996L3.21876 4.03121L3.14454 3.94137C2.99723 3.71819 3.0223 3.41517 3.21876 3.21871C3.41522 3.02225 3.71823 2.99719 3.94141 3.14449L4.03126 3.21871L7.50001 6.68746L10.9688 3.21871Z',
      fill: 'currentColor'
    )
  end
end