Class: Phlex::Icons::Iconoir::Trash
- Defined in:
- lib/phlex/icons/iconoir/icons/trash.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Phlex::Icons::Iconoir::Base
Instance Method Details
#regular ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/phlex/icons/iconoir/icons/trash.rb', line 2 def regular svg( class: @class, width: @width, height: @height, viewbox: "0 0 24 24", stroke_width: @stroke_width, fill: "none", xmlns: "http://www.w3.org/2000/svg" ) do |s| s.path( d: "M20 9L18.005 20.3463C17.8369 21.3026 17.0062 22 16.0353 22H7.96474C6.99379 22 6.1631 21.3026 5.99496 20.3463L4 9", stroke: "currentColor", stroke_linecap: "round", stroke_linejoin: "round" ) s.path( d: "M21 6L15.375 6M3 6L8.625 6M8.625 6V4C8.625 2.89543 9.52043 2 10.625 2H13.375C14.4796 2 15.375 2.89543 15.375 4V6M8.625 6L15.375 6", stroke: "currentColor", stroke_linecap: "round", stroke_linejoin: "round" ) end end |
#solid ⇒ Object
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
# File 'lib/phlex/icons/iconoir/icons/trash.rb', line 29 def solid svg( class: @class, width: @width, height: @height, viewbox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" ) do |s| s.path( d: "M20 9L18.005 20.3463C17.8369 21.3026 17.0062 22 16.0353 22H7.96474C6.99379 22 6.1631 21.3026 5.99496 20.3463L4 9", fill: "currentColor" ) s.path( d: "M20 9L18.005 20.3463C17.8369 21.3026 17.0062 22 16.0353 22H7.96474C6.99379 22 6.1631 21.3026 5.99496 20.3463L4 9H20Z", stroke: "currentColor", stroke_width: @stroke_width, stroke_linecap: "round", stroke_linejoin: "round" ) s.path( d: "M21 6H15.375M3 6H8.625M8.625 6V4C8.625 2.89543 9.52043 2 10.625 2H13.375C14.4796 2 15.375 2.89543 15.375 4V6M8.625 6H15.375", stroke: "currentColor", stroke_width: @stroke_width, stroke_linecap: "round", stroke_linejoin: "round" ) end end |