Class: Phlex::Remixicon::Heart2LineIcon

Inherits:
Icon
  • Object
show all
Defined in:
lib/phlex/remixicon/icons/heart_2_line_icon.rb

Instance Attribute Summary

Attributes inherited from Icon

#props, #size

Instance Method Summary collapse

Methods inherited from Icon

#initialize

Constructor Details

This class inherits a constructor from Phlex::Remixicon::Icon

Instance Method Details

#view_templateObject



6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'lib/phlex/remixicon/icons/heart_2_line_icon.rb', line 6

def view_template
  svg(
    viewbox: "0 0 24 24",
    fill: "currentColor",
    xmlns: "http://www.w3.org/2000/svg",
    **props
  ) do |s|
    s.path(
      d:
        "M20.2426 4.75736C22.5053 7.02472 22.583 10.637 20.4786 12.993L11.9999 21.485L3.52138 12.993C1.41705 10.637 1.49571 7.01901 3.75736 4.75736C6.02157 2.49315 9.64519 2.41687 12.001 4.52853C14.35 2.42 17.98 2.49 20.2426 4.75736ZM5.17157 6.17157C3.68183 7.66131 3.60704 10.0473 4.97993 11.6232L11.9999 18.6543L19.0201 11.6232C20.3935 10.0467 20.319 7.66525 18.827 6.1701C17.3397 4.67979 14.9458 4.60806 13.3743 5.98376L9.17157 10.1869L7.75736 8.77264L10.582 5.946L10.5002 5.87701C8.92545 4.61197 6.62322 4.71993 5.17157 6.17157Z"
    )
  end
end