@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
35 lines • 4.74 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ForkEnd = void 0;
const tslib_1 = require("tslib");
const jsx_runtime_1 = require("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.
*/
const React = tslib_1.__importStar(require("react"));
const iconTypes_1 = require("../../iconTypes");
const svgIconContainer_1 = require("../../svgIconContainer");
exports.ForkEnd = React.forwardRef((props, ref) => {
const isLarge = props.size >= iconTypes_1.IconSize.LARGE;
const pixelGridSize = isLarge ? iconTypes_1.IconSize.LARGE : iconTypes_1.IconSize.STANDARD;
const translation = `${-1 * pixelGridSize / 0.05 / 2}`;
const style = { transformOrigin: "center" };
return ((0, jsx_runtime_1.jsx)(svgIconContainer_1.SVGIconContainer, { iconName: "fork-end", ref: ref, ...props, children: (0, jsx_runtime_1.jsx)("path", { d: isLarge ? "M325.86 354.1406C333.67 361.9512 346.3300000000001 361.9512 354.14 354.1406L394.14 314.1406C395.096 313.1844 395.952 312.1292 396.7000000000001 310.996C397.194 310.2464 397.624 309.4678 398.0080000000001 308.6718C398.444 307.7682 398.824 306.8324 399.122 305.8594C399.246 305.4536 399.336 305.0404 399.434 304.629C399.786 303.1418 400 301.5950000000001 400 300C400 298.5018 399.8040000000001 297.0488000000001 399.492 295.6446C399.38 295.1392 399.254 294.6378 399.1020000000001 294.1406C398.818 293.2176 398.474 292.3256 398.0660000000001 291.4648C397.644 290.5692 397.146 289.7048 396.582 288.8672000000001C396.342 288.5106 396.082 288.1718 395.82 287.832C395.298 287.156 394.76 286.4792 394.14 285.8594L354.14 245.8594C346.3300000000001 238.0498 333.67 238.0498 325.86 245.8594C318.05 253.6696 318.05 266.33 325.86 274.1406L331.718 280H308.282L114.1406 85.86C113.1844 84.904 112.1292 84.048 110.996 83.3C110.1024 82.712 109.1606 82.228 108.2032 81.796C108.0276 81.718 107.8538 81.636 107.6758 81.562C107.3338 81.42 106.9884 81.294 106.6406 81.172C106.373 81.078 106.1126 80.962 105.8398 80.878C105.434 80.756 105.021 80.664 104.6094 80.566C104.3822 80.512 104.156 80.456 103.9258 80.41C103.7186 80.368 103.5088 80.348 103.3008 80.312C102.8858 80.244 102.474 80.14 102.0508 80.098L100 80H20C8.9548 80 0.000814294 88.954 0 100C0 111.046 8.9543 120 20 120H91.7188L251.718 280H20C8.9548 280 0.00081687 288.955 0 300C0 311.0456 8.9543 320 20 320H331.718L325.86 325.8594C318.05 333.6696 318.05 346.33 325.86 354.1406z" : "M245.86 274.1406C253.67 281.9512 266.33 281.9512 274.14 274.1406L314.14 234.1406C315.096 233.1844 315.952 232.1292 316.7000000000001 230.996C317.194 230.2464 317.624 229.4678 318.008 228.6718C318.444 227.7682 318.824 226.8324 319.122 225.8594C319.2460000000001 225.4536 319.336 225.0404 319.4340000000001 224.629C319.786 223.1418 320 221.595 320 220C320 218.5018 319.804 217.0488 319.492 215.6446C319.38 215.1392 319.254 214.6378 319.102 214.1406C318.818 213.2176 318.474 212.3256 318.066 211.4648C317.644 210.5692 317.146 209.7048 316.582 208.8672C316.342 208.5106 316.082 208.1718 315.82 207.832C315.298 207.156 314.76 206.4792 314.14 205.8594L274.14 165.8594C266.33 158.0498 253.67 158.0498 245.86 165.8594C238.05 173.6696 238.05 186.33 245.86 194.1406L251.718 200H228.282L94.1406 65.86C93.1844 64.904 92.1292 64.048 90.996 63.3C90.1024 62.712 89.1606 62.228 88.2032 61.796C88.0276 61.718 87.8538 61.636 87.6758 61.562C87.3338 61.42 86.9884 61.294 86.6406 61.172C86.373 61.078 86.1126 60.962 85.8398 60.878C85.434 60.756 85.021 60.664 84.6094 60.566C84.3822 60.512 84.156 60.456 83.9258 60.41C83.7186 60.368 83.5088 60.348 83.3008 60.312C82.8858 60.244 82.474 60.14 82.0508 60.098L80 60H20C8.9548 60 0.000814294 68.954 0 80C0 91.046 8.9543 100 20 100H71.7188L171.7188 200H20C8.9548 200 0.00081687 208.955 0 220C0 231.0456 8.9543 240 20 240H251.718L245.86 245.8594C238.05 253.6696 238.05 266.33 245.86 274.1406z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }) }));
});
exports.ForkEnd.defaultProps = {
size: iconTypes_1.IconSize.STANDARD,
};
exports.ForkEnd.displayName = `Blueprint6.Icon.ForkEnd`;
exports.default = exports.ForkEnd;
//# sourceMappingURL=fork-end.js.map