UNPKG

@blueprintjs/icons

Version:

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

28 lines 1.72 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PowerButtonIcon = 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.372 3.09a.75.75 0 0 1 1.037-.218C13.102 3.976 14.25 5.79 14.25 8a6.25 6.25 0 0 1-12.5 0c0-2.211 1.147-4.024 2.84-5.128a.75.75 0 1 1 .82 1.256C4.092 4.986 3.25 6.35 3.25 8a4.75 4.75 0 0 0 9.5 0c0-1.65-.843-3.014-2.16-3.872a.75.75 0 0 1-.218-1.037M8 .75a.75.75 0 0 1 .75.75v6a.75.75 0 0 1-1.5 0v-6A.75.75 0 0 1 8 .75"]; exports.PowerButtonIcon = React.forwardRef((props, ref) => { return ((0, jsx_runtime_1.jsx)(svgIconContainerNext_1.SvgIconContainerNext, { iconName: "power-button", ref: ref, ...props, children: PATHS.map((d, i) => ((0, jsx_runtime_1.jsx)("path", { d: d }, i))) })); }); exports.PowerButtonIcon.displayName = "Blueprint6.Icon.Next.PowerButtonIcon"; exports.default = exports.PowerButtonIcon; //# sourceMappingURL=power-button.js.map