Class: Lucide::TriangleAlert

Inherits:
Base
  • Object
show all
Defined in:
app/views/rails_devtools/components/lucide/triangle_alert.rb

Instance Method Summary collapse

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 'app/views/rails_devtools/components/lucide/triangle_alert.rb', line 6

def view_template
  svg(
    xmlns: "http://www.w3.org/2000/svg",
    width: width,
    height: height,
    viewbox: "0 0 24 24",
    fill: "none",
    stroke: "currentColor",
    stroke_width: "2",
    stroke_linecap: "round",
    stroke_linejoin: "round",
    class: "lucide lucide-triangle-alert"
  ) do |s|
    s.path(
      d:
        "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"
    )
    s.path(d: "M12 9v4")
    s.path(d: "M12 17h.01")
  end
end