Class: Protos::Icon::Heroicon::ArrowDownRight

Inherits:
Protos::Icon::HeroiconComponent show all
Defined in:
lib/protos/icon/heroicon/arrow_down_right.rb

Instance Method Summary collapse

Methods inherited from Protos::Icon::HeroiconComponent

#view_template

Instance Method Details

#outline ⇒ Object



28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# File 'lib/protos/icon/heroicon/arrow_down_right.rb', line 28

def outline
  svg(
    **attrs,
    xmlns: "http://www.w3.org/2000/svg",
    fill: "none",
    viewbox: "0 0 24 24",
    stroke_width: "1.5",
    stroke: "currentColor",
    aria_hidden: "true",
    data_slot: "icon"
  ) do |s|
    s.path(
      stroke_linecap: "round",
      stroke_linejoin: "round",
      d: "m4.5 4.5 15 15m0 0V8.25m0 11.25H8.25"
    )
  end
end

#solid ⇒ Object



10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'lib/protos/icon/heroicon/arrow_down_right.rb', line 10

def solid
  svg(
    **attrs,
    xmlns: "http://www.w3.org/2000/svg",
    viewbox: "0 0 24 24",
    fill: "currentColor",
    aria_hidden: "true",
    data_slot: "icon"
  ) do |s|
    s.path(
      fill_rule: "evenodd",
      d:
        "M3.97 3.97a.75.75 0 0 1 1.06 0l13.72 13.72V8.25a.75.75 0 0 1 1.5 0V19.5a.75.75 0 0 1-.75.75H8.25a.75.75 0 0 1 0-1.5h9.44L3.97 5.03a.75.75 0 0 1 0-1.06Z",
      clip_rule: "evenodd"
    )
  end
end