@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
28 lines • 2.1 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.KeyIcon = 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 = ["M10 1.277a5.06 5.06 0 0 1 3.741 1.477 5.06 5.06 0 0 1 1.48 3.74c-.09 2.709-2.337 4.888-5.048 4.889a5 5 0 0 1-1.43-.204l-.473.474a.72.72 0 0 1-.511.211h-.923l-.317.951a.72.72 0 0 1-.685.494H4.799l-.513.853a.72.72 0 0 1-.367.305l-1.916.713a.723.723 0 0 1-.974-.677v-2.648c0-.205.088-.402.242-.539l4.036-3.594a5 5 0 0 1-.196-1.4c.002-2.71 2.18-4.957 4.889-5.045m.048 1.443a3.626 3.626 0 0 0-3.491 3.603v.002c-.002.462.086.92.258 1.349a.72.72 0 0 1-.189.808L2.473 12.18v1.284l.705-.263.593-.986.053-.077a.72.72 0 0 1 .566-.274h.923l.317-.95a.72.72 0 0 1 .685-.493H7.46l.582-.581.081-.07a.72.72 0 0 1 .7-.09c.428.172.886.26 1.348.26h.002c1.93 0 3.541-1.561 3.605-3.493a3.62 3.62 0 0 0-1.056-2.671 3.6 3.6 0 0 0-2.673-1.056M11.5 4a1 1 0 1 1 0 2 1 1 0 0 1 0-2"];
exports.KeyIcon = React.forwardRef((props, ref) => {
return ((0, jsx_runtime_1.jsx)(svgIconContainerNext_1.SvgIconContainerNext, { iconName: "key", ref: ref, ...props, children: PATHS.map((d, i) => ((0, jsx_runtime_1.jsx)("path", { d: d }, i))) }));
});
exports.KeyIcon.displayName = "Blueprint6.Icon.Next.KeyIcon";
exports.default = exports.KeyIcon;
//# sourceMappingURL=key.js.map