Class: Protos::Icon::Heroicon::XMark
- Inherits:
-
Protos::Icon::HeroiconComponent
- Object
- Component
- Component
- Protos::Icon::HeroiconComponent
- Protos::Icon::Heroicon::XMark
- Defined in:
- lib/protos/icon/heroicon/x_mark.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 |
# File 'lib/protos/icon/heroicon/x_mark.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: "M6 18 18 6M6 6l12 12" ) 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/x_mark.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: "M5.47 5.47a.75.75 0 0 1 1.06 0L12 10.94l5.47-5.47a.75.75 0 1 1 1.06 1.06L13.06 12l5.47 5.47a.75.75 0 1 1-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 0 1-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 0 1 0-1.06Z", clip_rule: "evenodd" ) end end |