UNPKG

@blueprintjs/icons

Version:

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

28 lines 2.06 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PushPinIcon = 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 = ["M7.306 6.267a.75.75 0 0 1-.922.11l-.008-.004-.054-.03a4 4 0 0 0-1.041-.367c-.584-.114-1.261-.096-1.897.311l3.16 3.16.005.004.003.004 3.13 3.129a3.7 3.7 0 0 0 .242-1.096c.05-.655-.041-1.352-.322-1.914a.75.75 0 0 1 .14-.865l3.404-3.416-2.437-2.44zm-.922.11v.002zm8.366-1.084c0 .331-.131.65-.365.884l-.001-.001-3.23 3.24a5.5 5.5 0 0 1 .266 2.186c-.063.822-.297 1.64-.68 2.15l-.003.004a1.25 1.25 0 0 1-1.875.13L6.02 11.042 3.53 13.53a.75.75 0 1 1-1.06-1.06l2.487-2.49-2.84-2.84a1.25 1.25 0 0 1-.228-1.456l.066-.114q.108-.165.264-.29c1.154-.929 2.426-.957 3.351-.775.421.082.782.21 1.051.323l3.203-3.21.001-.002a1.25 1.25 0 0 1 1.676-.083l.092.083 2.792 2.793c.234.234.365.553.365.884"]; exports.PushPinIcon = React.forwardRef((props, ref) => { return ((0, jsx_runtime_1.jsx)(svgIconContainerNext_1.SvgIconContainerNext, { iconName: "push-pin", ref: ref, ...props, children: PATHS.map((d, i) => ((0, jsx_runtime_1.jsx)("path", { d: d }, i))) })); }); exports.PushPinIcon.displayName = "Blueprint6.Icon.Next.PushPinIcon"; exports.default = exports.PushPinIcon; //# sourceMappingURL=push-pin.js.map