UNPKG

@blueprintjs/icons

Version:

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

28 lines 2.21 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FunctionIcon = 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.5 1.75a.75.75 0 0 1 0 1.5h-.831a1.25 1.25 0 0 0-1.23 1.026L6.126 6H7.5a.75.75 0 0 1 0 1.5H5.854l-.817 4.491a2.75 2.75 0 0 1-2.706 2.259H1.5a.75.75 0 0 1 0-1.5h.831a1.25 1.25 0 0 0 1.23-1.026L4.328 7.5H3A.75.75 0 0 1 3 6h1.6l.363-1.991A2.75 2.75 0 0 1 7.669 1.75zM10.167 6c.307 0 .616.083.882.31.234.2.373.461.47.68.058.128.114.275.17.43q.17-.206.352-.397C12.507 6.536 13.175 6 14 6a.75.75 0 0 1 0 1.5c-.175 0-.465.13-.874.56a8.6 8.6 0 0 0-.816 1.04q.179.481.292.847c.103.328.164.539.228.713q.022.055.038.09h.632a.75.75 0 0 1 0 1.5h-.75c-.33 0-.653-.103-.913-.362-.219-.219-.337-.496-.415-.71-.06-.162-.121-.36-.184-.564a8 8 0 0 1-.488.571c-.476.498-1.168 1.065-2 1.065a.75.75 0 0 1 0-1.5c.168 0 .476-.142.916-.602.344-.36.67-.811.965-1.244a34 34 0 0 1-.23-.632 10 10 0 0 0-.252-.673q-.031-.064-.05-.099H9.5a.75.75 0 0 1 0-1.5z"]; exports.FunctionIcon = React.forwardRef((props, ref) => { return ((0, jsx_runtime_1.jsx)(svgIconContainerNext_1.SvgIconContainerNext, { iconName: "function", ref: ref, ...props, children: PATHS.map((d, i) => ((0, jsx_runtime_1.jsx)("path", { d: d }, i))) })); }); exports.FunctionIcon.displayName = "Blueprint6.Icon.Next.FunctionIcon"; exports.default = exports.FunctionIcon; //# sourceMappingURL=function.js.map