lib/phlex-icons/radix/heart.rb



# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module PhlexIcons
  module Radix
    class Heart < Base
      def view_template
        svg(
          **attrs,
          viewbox: '0 0 15 15',
          fill: 'none',
          xmlns: 'http://www.w3.org/2000/svg'
        ) do |s|
          s.path(
            d:
              'M10.1064 1.35248C12.0638 1.35248 13.6473 2.94492 13.6474 4.90521C13.6474 6.7403 12.6009 8.50547 11.4003 9.96967C10.1894 11.4465 8.74654 12.7053 7.83295 13.5204C7.66692 13.6686 7.42664 13.6873 7.24213 13.5761L7.16693 13.5204C6.25332 12.7053 4.81048 11.4465 3.59955 9.96967C2.39901 8.50547 1.35248 6.7403 1.35248 4.90521C1.35254 2.94492 2.93607 1.35248 4.89349 1.35248C6.00828 1.35249 6.73512 1.76016 7.20892 2.29486C7.3207 2.42103 7.41678 2.55386 7.49994 2.68549C7.58311 2.55384 7.67916 2.42105 7.79095 2.29486C8.26473 1.76015 8.99164 1.35253 10.1064 1.35248ZM10.1064 2.35248C9.27088 2.35252 8.81923 2.64293 8.53998 2.95795C8.23362 3.30375 8.10371 3.70259 7.96185 4.04584C7.88455 4.23285 7.7023 4.35541 7.49994 4.35541C7.2976 4.35538 7.11531 4.23284 7.03802 4.04584C6.89617 3.70259 6.76625 3.30374 6.4599 2.95795C6.18063 2.64294 5.72904 2.35249 4.89349 2.35248C3.49202 2.35248 2.35254 3.49353 2.35248 4.90521C2.35248 6.38153 3.20998 7.91647 4.37299 9.3349C5.39394 10.5801 6.5947 11.668 7.49994 12.4755C8.40519 11.668 9.60687 10.5801 10.6279 9.3349C11.7907 7.91658 12.6474 6.38139 12.6474 4.90521C12.6473 3.49353 11.5079 2.35248 10.1064 2.35248Z',
            fill: 'currentColor'
          )
        end
      end
    end
  end
end
# rubocop:enable Layout/LineLength