Class: Lucide::Close

Inherits:
Base
  • Object
show all
Defined in:
app/views/rails_devtools/components/lucide/close.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
# File 'app/views/rails_devtools/components/lucide/close.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-x"
  ) do |s|
    s.path(d: "M18 6 6 18")
    s.path(d: "m6 6 12 12")
  end
end