Class: PhlexIcons::Lucide::Router

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/lucide/router.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::Lucide::Base

Instance Method Details

#view_templateObject



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/phlex-icons/lucide/router.rb', line 6

def view_template
  svg(
    **attrs,
    xmlns: 'http://www.w3.org/2000/svg',
    viewbox: '0 0 24 24',
    fill: 'none',
    stroke: 'currentColor',
    stroke_width: '2',
    stroke_linecap: 'round',
    stroke_linejoin: 'round'
  ) do |s|
    s.rect(width: '20', height: '8', x: '2', y: '14', rx: '2')
    s.path(d: 'M6.01 18H6')
    s.path(d: 'M10.01 18H10')
    s.path(d: 'M15 10v4')
    s.path(d: 'M17.84 7.17a4 4 0 0 0-5.66 0')
    s.path(d: 'M20.66 4.34a8 8 0 0 0-11.31 0')
  end
end