Class: Protos::Icon::Heroicon::Battery0
- Inherits:
-
Protos::Icon::HeroiconComponent
- Object
- Component
- Component
- Protos::Icon::HeroiconComponent
- Protos::Icon::Heroicon::Battery0
- Defined in:
- lib/protos/icon/heroicon/battery_0.rb
Instance Method Summary collapse
Methods inherited from Protos::Icon::HeroiconComponent
Instance Method Details
#outline ⇒ Object
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/protos/icon/heroicon/battery_0.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: "M21 10.5h.375c.621 0 1.125.504 1.125 1.125v2.25c0 .621-.504 1.125-1.125 1.125H21M3.75 18h15A2.25 2.25 0 0 0 21 15.75v-6a2.25 2.25 0 0 0-2.25-2.25h-15A2.25 2.25 0 0 0 1.5 9.75v6A2.25 2.25 0 0 0 3.75 18Z" ) 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/battery_0.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: "M.75 9.75a3 3 0 0 1 3-3h15a3 3 0 0 1 3 3v.038c.856.173 1.5.93 1.5 1.837v2.25c0 .907-.644 1.664-1.5 1.838v.037a3 3 0 0 1-3 3h-15a3 3 0 0 1-3-3v-6Zm19.5 0a1.5 1.5 0 0 0-1.5-1.5h-15a1.5 1.5 0 0 0-1.5 1.5v6a1.5 1.5 0 0 0 1.5 1.5h15a1.5 1.5 0 0 0 1.5-1.5v-6Z", clip_rule: "evenodd" ) end end |