Class: Protos::Icon::Heroicon::PlayPause
- Inherits:
-
Protos::Icon::HeroiconComponent
- Object
- Component
- Component
- Protos::Icon::HeroiconComponent
- Protos::Icon::Heroicon::PlayPause
- Defined in:
- lib/protos/icon/heroicon/play_pause.rb
Instance Method Summary collapse
Methods inherited from Protos::Icon::HeroiconComponent
Instance Method Details
#outline ⇒ Object
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/protos/icon/heroicon/play_pause.rb', line 26 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 7.5V18M15 7.5V18M3 16.811V8.69c0-.864.933-1.406 1.683-.977l7.108 4.061a1.125 1.125 0 0 1 0 1.954l-7.108 4.061A1.125 1.125 0 0 1 3 16.811Z" ) end end |
#solid ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/protos/icon/heroicon/play_pause.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( d: "M15 6.75a.75.75 0 0 0-.75.75V18a.75.75 0 0 0 .75.75h.75a.75.75 0 0 0 .75-.75V7.5a.75.75 0 0 0-.75-.75H15ZM20.25 6.75a.75.75 0 0 0-.75.75V18c0 .414.336.75.75.75H21a.75.75 0 0 0 .75-.75V7.5a.75.75 0 0 0-.75-.75h-.75ZM5.055 7.06C3.805 6.347 2.25 7.25 2.25 8.69v8.122c0 1.44 1.555 2.343 2.805 1.628l7.108-4.061c1.26-.72 1.26-2.536 0-3.256L5.055 7.061Z" ) end end |