Class: Phlex::Lucide::WebhookIcon

Inherits:
Icon
  • Object
show all
Defined in:
lib/phlex/lucide/icons/webhook_icon.rb

Instance Attribute Summary

Attributes inherited from Icon

#props, #size

Instance Method Summary collapse

Methods inherited from Icon

#initialize

Constructor Details

This class inherits a constructor from Phlex::Lucide::Icon

Instance Method Details

#view_templateObject



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

def view_template
  svg(
    xmlns: "http://www.w3.org/2000/svg",
    width: size,
    height: size,
    viewbox: "0 0 24 24",
    fill: "none",
    stroke: "currentColor",
    stroke_width: "2",
    stroke_linecap: "round",
    stroke_linejoin: "round",
    **props
  ) do |s|
    s.path(
      d:
        "M18 16.98h-5.99c-1.1 0-1.95.94-2.48 1.9A4 4 0 0 1 2 17c.01-.7.2-1.4.57-2"
    )
    s.path(d: "m6 17 3.13-5.78c.53-.97.1-2.18-.5-3.1a4 4 0 1 1 6.89-4.06")
    s.path(d: "m12 6 3.13 5.73C15.66 12.7 16.9 13 18 13a4 4 0 0 1 0 8")
  end
end