UNPKG

@blueprintjs/icons

Version:

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

31 lines 3.27 kB
import { jsx as _jsx } from "react/jsx-runtime"; /* * Copyright 2024 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. */ import * as React from "react"; import { IconSize } from "../../iconTypes"; import { SVGIconContainer } from "../../svgIconContainer"; export const FunctionMinimal = React.forwardRef((props, ref) => { const isLarge = props.size >= IconSize.LARGE; const pixelGridSize = isLarge ? IconSize.LARGE : IconSize.STANDARD; const translation = `${-1 * pixelGridSize / 0.05 / 2}`; const style = { transformOrigin: "center" }; return (_jsx(SVGIconContainer, { iconName: "function-minimal", ref: ref, ...props, children: _jsx("path", { d: isLarge ? "M300 360C311.046 360 320 351.0456 320 340C320 328.9544 311.046 320 300 320H259.238C252.212 320.0012 245.396 317.5302 240 313.0274C234.632 308.5458 230.978 302.3372 229.708 295.4688L229.726 295.4492L219.902 240H281.582C292.626 239.9978 301.582 231.0444 301.582 220C301.582 208.9556 292.626 200.0022 281.582 200H212.812L194.668 97.578L194.6484 97.48C191.7166 81.352 183.213 66.754 170.625 56.25C159.6094 47.0580000000001 146.0718 41.516 131.875 40.274L125.7618 40H80C68.9544 40 60 48.954 60 60C60 71.046 68.9544 80 80 80H125.7618C132.7884 79.998 139.6044 82.47 145 86.972C150.39 91.472 154.0358 97.72 155.293 104.628L172.1876 200H100C88.9544 200 80 208.9544 80 220C80 231.0456 88.9544 240 100 240H179.2774L190.332 302.4218L190.3516 302.5196C193.2826 318.6524 201.79 333.2472 214.376 343.75C226.962 354.2542 242.842 360.0028 259.238 360H300z" : "M250 300C261.046 300 270 291.0456 270 280C270 268.9544 261.046 260 250 260H213.378C208.696 259.9994 204.162 258.3518000000001 200.566 255.3516C196.9706 252.35 194.5482 248.1826 193.711 243.5742L186.6992 200H220C231.046 200 240 191.0456 240 180C240 168.9544 231.046 160 220 160H180.254L165.7226 69.668C165.7016 69.536 165.6682 69.408 165.6446 69.278C163.1322 55.45 155.8478 42.93 145.0586 33.926C134.2728 24.926 120.6688 20 106.621 20H80C68.9544 20 60 28.954 60 40C60 51.046 68.9544 60 80 60H106.621C111.3032 60 115.8378 61.648 119.4336 64.648C123.0302 67.652 125.4518 71.818 126.289 76.426L139.746 160H100C88.9544 160 80 168.9544 80 180C80 191.0456 88.9544 200 100 200H146.1718L154.2774 250.332C154.2984 250.4632 154.3318 250.592 154.3554 250.7226C156.8678 264.551 164.151 277.0692 174.9414 286.0742C185.7278 295.0734 199.3318 299.98 213.378 299.9804L250 300z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }) })); }); FunctionMinimal.defaultProps = { size: IconSize.STANDARD, }; FunctionMinimal.displayName = `Blueprint6.Icon.FunctionMinimal`; export default FunctionMinimal; //# sourceMappingURL=function-minimal.js.map