@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
28 lines • 2.06 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.LocationPinIcon = 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 = ["M8 1c2.9 0 5.25 2.35 5.25 5.25 0 .803-.349 1.745-.778 2.627-.443.909-1.026 1.862-1.598 2.72a45 45 0 0 1-2.24 3.06l-.038.05-.011.012-.003.004h-.001L8 14.25l.581.475a.75.75 0 0 1-1.162 0L8 14.25l-.581.474-.001-.001-.003-.004-.01-.013-.04-.049-.146-.183a45 45 0 0 1-2.093-2.876c-.572-.859-1.155-1.812-1.598-2.721-.43-.882-.778-1.824-.778-2.627C2.75 3.35 5.1 1 8 1m0 1.5a3.75 3.75 0 0 0-3.75 3.75c0 .44.214 1.119.628 1.97.401.824.943 1.716 1.496 2.547a43 43 0 0 0 1.52 2.13l.106.135q.052-.065.105-.136c.416-.547.97-1.301 1.521-2.13.553-.83 1.095-1.722 1.496-2.546.414-.851.628-1.53.628-1.97A3.75 3.75 0 0 0 8 2.5M8 4a1.75 1.75 0 1 1 0 3.5A1.75 1.75 0 0 1 8 4"];
exports.LocationPinIcon = React.forwardRef((props, ref) => {
return ((0, jsx_runtime_1.jsx)(svgIconContainerNext_1.SvgIconContainerNext, { iconName: "location-pin", ref: ref, ...props, children: PATHS.map((d, i) => ((0, jsx_runtime_1.jsx)("path", { d: d }, i))) }));
});
exports.LocationPinIcon.displayName = "Blueprint6.Icon.Next.LocationPinIcon";
exports.default = exports.LocationPinIcon;
//# sourceMappingURL=location-pin.js.map