UNPKG

@blueprintjs/icons

Version:

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

28 lines 1.83 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LinkIcon = 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 = ["M4.227 6.47a.75.75 0 0 1 1.061 1.06L3.416 9.403l.001.001a2.25 2.25 0 0 0 .013 3.17 2.25 2.25 0 0 0 3.169.013l1.87-1.874a.75.75 0 0 1 1.062 1.06L7.655 13.65l-.005.005a3.75 3.75 0 0 1-5.302-5.303l.004-.004zm5.243-1a.75.75 0 1 1 1.06 1.06l-4 4a.75.75 0 1 1-1.06-1.06zm1.528-4.2a3.751 3.751 0 0 1 2.658 6.38l-.005.005-1.878 1.876a.75.75 0 0 1-1.06-1.061l1.874-1.872a2.25 2.25 0 0 0-3.183-3.181L7.53 5.288a.751.751 0 0 1-1.06-1.061l1.879-1.875.004-.004a3.75 3.75 0 0 1 2.645-1.078"]; exports.LinkIcon = React.forwardRef((props, ref) => { return ((0, jsx_runtime_1.jsx)(svgIconContainerNext_1.SvgIconContainerNext, { iconName: "link", ref: ref, ...props, children: PATHS.map((d, i) => ((0, jsx_runtime_1.jsx)("path", { d: d }, i))) })); }); exports.LinkIcon.displayName = "Blueprint6.Icon.Next.LinkIcon"; exports.default = exports.LinkIcon; //# sourceMappingURL=link.js.map