@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
31 lines • 4.53 kB
JavaScript
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 ForkEnd = 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: "fork-end", ref: ref, ...props, children: _jsx("path", { d: isLarge ? "M305.86 374.1406C313.67 381.95112 326.3300000000001 381.95112 334.14 374.1406L394.14 314.1406C395.064 313.2174 395.892 312.202 396.622 311.1132C397.148 310.3272 397.604 309.5094000000001 398.0080000000001 308.6718C398.438 307.7808 398.8060000000001 306.857 399.1020000000001 305.8984000000001C399.244 305.4338 399.364 304.9642 399.4720000000001 304.4922000000001C399.8040000000001 303.0476 400 301.5452 400 300C400 298.5018 399.8040000000001 297.0486 399.492 295.6446C399.38 295.1392 399.254 294.6378 399.1020000000001 294.1406C398.846 293.308 398.54 292.5012000000001 398.184 291.7188C397.7600000000001 290.7868 397.274 289.875 396.7000000000001 289.004C396.6660000000001 288.9542 396.616 288.9166 396.582 288.8672000000001C396.342 288.5108 396.082 288.1716 395.82 287.832C395.298 287.156 394.76 286.4792 394.14 285.8594L334.14 225.8594C326.3300000000001 218.051 313.67 218.051 305.86 225.8594C298.05 233.6694 298.05 246.33 305.86 254.1406L331.718 280H288.282L94.1406 85.86C93.1844 84.904 92.129 84.048 90.996 83.3C90.1024 82.71 89.1606 82.228 88.2032 81.796C88.0278 81.718 87.8538 81.636 87.6758 81.562C87.3338 81.42 86.9884 81.294 86.6406 81.172C86.373 81.078 86.1126 80.962 85.8398 80.878C85.4338 80.756 85.021 80.664 84.6094 80.566C84.3822 80.512 84.1558 80.456 83.9258 80.41C83.7186 80.368 83.5088 80.348 83.3008 80.312C82.886 80.244 82.4738 80.14 82.0508 80.098L80 80H20C8.9553 80 0.0016285 88.956 0 100C0 111.046 8.9543 120 20 120H71.7188L231.718 280H20C8.95532 280 0.001633652 288.9556 0 300C0 311.0456 8.9543 320 20 320H331.718L305.86 345.8594C298.05 353.6696 298.05 366.33 305.86 374.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 }) }));
});
ForkEnd.defaultProps = {
size: IconSize.STANDARD,
};
ForkEnd.displayName = `Blueprint6.Icon.ForkEnd`;
export default ForkEnd;
//# sourceMappingURL=fork-end.js.map