Class: Protos::Icon::Heroicon::Pencil
- Inherits:
-
Protos::Icon::HeroiconComponent
- Object
- Component
- Component
- Protos::Icon::HeroiconComponent
- Protos::Icon::Heroicon::Pencil
- Defined in:
- lib/protos/icon/heroicon/pencil.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/pencil.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: "m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125" ) end end |
#solid ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/protos/icon/heroicon/pencil.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: "M21.731 2.269a2.625 2.625 0 0 0-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 0 0 0-3.712ZM19.513 8.199l-3.712-3.712-12.15 12.15a5.25 5.25 0 0 0-1.32 2.214l-.8 2.685a.75.75 0 0 0 .933.933l2.685-.8a5.25 5.25 0 0 0 2.214-1.32L19.513 8.2Z" ) end end |