Class: Phlex::Icons::Iconoir::WarningSquare
- Defined in:
- lib/phlex/icons/iconoir/icons/warning_square.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 28 29 30 31 |
# File 'lib/phlex/icons/iconoir/icons/warning_square.rb', line 2 def regular svg( class: @class, width: @width, height: @height, stroke_width: @stroke_width, viewbox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" ) do |s| s.path( d: "M12 7V13", stroke: "currentColor", stroke_linecap: "round", stroke_linejoin: "round" ) s.path( d: "M12 17.01L12.01 16.9989", stroke: "currentColor", stroke_linecap: "round", stroke_linejoin: "round" ) s.path( d: "M3 20.4V3.6C3 3.26863 3.26863 3 3.6 3H20.4C20.7314 3 21 3.26863 21 3.6V20.4C21 20.7314 20.7314 21 20.4 21H3.6C3.26863 21 3 20.7314 3 20.4Z", stroke: "currentColor", stroke_width: @stroke_width ) end end |
#solid ⇒ Object
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/phlex/icons/iconoir/icons/warning_square.rb', line 33 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( fill_rule: "evenodd", clip_rule: "evenodd", d: "M2.25 3.6C2.25 2.85441 2.85442 2.25 3.6 2.25H20.4C21.1456 2.25 21.75 2.85442 21.75 3.6V20.4C21.75 21.1456 21.1456 21.75 20.4 21.75H3.6C2.85441 21.75 2.25 21.1456 2.25 20.4V3.6ZM12 6.25C12.4142 6.25 12.75 6.58579 12.75 7V13C12.75 13.4142 12.4142 13.75 12 13.75C11.5858 13.75 11.25 13.4142 11.25 13V7C11.25 6.58579 11.5858 6.25 12 6.25ZM12.5675 17.5008C12.8446 17.1929 12.8196 16.7187 12.5117 16.4416C12.2038 16.1645 11.7296 16.1894 11.4525 16.4973L11.4425 16.5084C11.1654 16.8163 11.1904 17.2905 11.4983 17.5676C11.8062 17.8447 12.2804 17.8197 12.5575 17.5119L12.5675 17.5008Z", fill: "currentColor" ) end end |