Class: PhlexIcons::Radix::Share2

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/radix/share_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/share_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:
        'M2 5.50006C2 4.67163 2.67157 4.00006 3.5 4.00006L4.75 4.00006C5.02614 4.00006 5.25 4.22392 5.25 4.50006C5.25 4.7762 5.02614 5.00006 4.75 5.00006L3.5 5.00006C3.22386 5.00006 3 5.22392 3 5.50006L3 11.5001C3 11.7762 3.22386 12.0001 3.5 12.0001L11.5 12.0001C11.7761 12.0001 12 11.7762 12 11.5001L12 5.50006C12 5.22392 11.7761 5.00006 11.5 5.00006L10.25 5.00006C9.97386 5.00006 9.75 4.7762 9.75 4.50006C9.75 4.22392 9.97386 4.00006 10.25 4.00006L11.5 4.00006C12.3284 4.00006 13 4.67163 13 5.50006L13 11.5001C13 12.3285 12.3284 13.0001 11.5 13.0001L3.5 13.0001C2.67157 13.0001 2 12.3285 2 11.5001L2 5.50006ZM4.93164 3.06842C4.77781 2.91459 4.75854 2.6767 4.87402 2.50201L4.93164 2.4317L7.18164 0.181701C7.26603 0.0973098 7.38065 0.0498655 7.5 0.0498655C7.61935 0.0498655 7.73397 0.0973098 7.81836 0.181701L10.0684 2.4317C10.2441 2.60744 10.2441 2.89269 10.0684 3.06842C9.89263 3.24412 9.60737 3.24412 9.43164 3.06842L8 1.63678L8 8.50006C7.99997 8.77618 7.77612 9.00006 7.5 9.00006C7.22388 9.00006 7.00003 8.77618 7 8.50006L7 1.63678L5.56836 3.06842L5.49805 3.12604C5.32337 3.24152 5.08548 3.22223 4.93164 3.06842Z',
      fill: 'currentColor'
    )
  end
end