Class: PhlexIcons::Hero::Backward
- Inherits:
-
Base
- Object
- Phlex::SVG
- Base
- Base
- PhlexIcons::Hero::Backward
show all
- Defined in:
- lib/phlex-icons/hero/backward.rb
Instance Attribute Summary
Attributes inherited from Base
#variant
Attributes inherited from Base
#attrs
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #view_template
Methods inherited from Base
#initialize, #view_template
Instance Method Details
#outline ⇒ Object
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# File 'lib/phlex-icons/hero/backward.rb', line 23
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:
'M21 16.811c0 .864-.933 1.406-1.683.977l-7.108-4.061a1.125 1.125 0 0 1 0-1.954l7.108-4.061A1.125 1.125 0 0 1 21 8.689v8.122ZM11.25 16.811c0 .864-.933 1.406-1.683.977l-7.108-4.061a1.125 1.125 0 0 1 0-1.954l7.108-4.061a1.125 1.125 0 0 1 1.683.977v8.122Z'
)
end
end
|
#solid ⇒ Object
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# File 'lib/phlex-icons/hero/backward.rb', line 7
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(
d:
'M9.195 18.44c1.25.714 2.805-.189 2.805-1.629v-2.34l6.945 3.968c1.25.715 2.805-.188 2.805-1.628V8.69c0-1.44-1.555-2.343-2.805-1.628L12 11.029v-2.34c0-1.44-1.555-2.343-2.805-1.628l-7.108 4.061c-1.26.72-1.26 2.536 0 3.256l7.108 4.061Z'
)
end
end
|