UNPKG

@blueprintjs/icons

Version:

Components, fonts, icons, and css files for creating and displaying icons.

28 lines 1.73 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.HeartIcon = void 0; const tslib_1 = require("tslib"); const jsx_runtime_1 = require("react/jsx-runtime"); /* * Copyright 2026 Palantir Technologies, Inc. All rights reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ const React = tslib_1.__importStar(require("react")); const svgIconContainerNext_1 = require("../../svgIconContainerNext"); const PATHS = ["M13.75 6.125a2.377 2.377 0 0 0-4.055-1.68l-.019.018-1.165 1.085a.75.75 0 0 1-1.022 0L6.324 4.463l-.02-.018a2.376 2.376 0 0 0-3.36 3.36l.005.003 5.05 5.123 5.052-5.123.003-.004c.446-.445.697-1.05.697-1.68m1.5 0a3.88 3.88 0 0 1-1.134 2.74h-.001l-5.581 5.662a.75.75 0 0 1-1.068 0L1.88 8.862V8.86a3.876 3.876 0 0 1 5.466-5.495L8 3.974l.654-.608a3.875 3.875 0 0 1 6.597 2.759"]; exports.HeartIcon = React.forwardRef((props, ref) => { return ((0, jsx_runtime_1.jsx)(svgIconContainerNext_1.SvgIconContainerNext, { iconName: "heart", ref: ref, ...props, children: PATHS.map((d, i) => ((0, jsx_runtime_1.jsx)("path", { d: d }, i))) })); }); exports.HeartIcon.displayName = "Blueprint6.Icon.Next.HeartIcon"; exports.default = exports.HeartIcon; //# sourceMappingURL=heart.js.map