@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
31 lines • 5.46 kB
JavaScript
/*
* 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 FlowBranch = 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 (React.createElement(SVGIconContainer, { iconName: "flow-branch", ref: ref, ...props },
React.createElement("path", { d: isLarge ? "M288.502886 240.9311088C295.635624 228.9652222000001 299.733384 214.9786258 299.733384 200.0345452C299.733384 184.7956844 295.472368 170.552454 288.07726 158.432246L360.015988 86.577562L360.025784 140.410902C360.026686 145.373462 361.957368 150.336374 365.817628 154.196844C373.40028 161.779914 386.764156 161.782346 394.34405 154.202036C398.202902 150.34297 400.131778 145.380762 399.9930100000001 140.280328L399.974632 39.302668C399.9737300000001 34.340108 398.31873 29.377248 394.4584700000001 25.516776C390.59821 21.656304 385.635632 20.049184 380.673344 20.04828L279.483806 20.029864C274.521518 20.02896 269.559584 21.957942 265.700728 25.817008C258.120836 33.397318 258.123238 46.586246 265.705888 54.169314C269.566148 58.0297860000001 274.528786 59.960574 279.491074 59.961476L333.538882 59.971314L260.866552 131.416644C248.865458 124.213502 234.818398 120.072152 219.80448 120.072152C182.5608214 120.072152 151.2666518 145.555622 142.3936886 180.0439464L19.98222556 180.0439464C8.9463471 180.0439464 0 188.9940424 0 200.0345452C0 211.075048 8.9463471 220.0251436 19.98222556 220.0251436L142.3936886 220.0251436C151.2666518 254.513468 182.5608214 279.996939 219.80448 279.996939C235.117206 279.996939 249.424206 275.6891058 261.580652 268.2187446000001L333.292998 340.0340168L279.424532 340.0438212C274.462242 340.0447244 269.499604 341.975512 265.639346 345.8359832C258.056692 353.4190518 258.054264 366.76342974 265.634156 374.34373874C269.49301 378.202805132 274.454948 380.1317864314 279.555102 379.99300929146L380.565298 379.9746248914001C385.527586 379.9737217314 390.4901720000001 378.318631932 394.350432 374.45816054C398.21069 370.59768934 399.805256 365.63483934 399.8061580000001 360.67227934L399.824548 259.6260248C399.825452 254.6634648 397.896576 249.7012562 394.037722 245.8421898C386.457828 238.2618808000001 373.22735 238.2642888000001 365.644698 245.8473574C361.784438 249.7078288 359.853758 254.67074 359.8528540000001 259.6332998000001L359.843044 313.535235L288.502886 240.9311088z" : "M212.851218 188.099858C217.254234 179.7452286 219.746888 170.2243 219.746888 160.1202742C219.746888 151.3453016 217.866858 143.0101172 214.488212 135.4967294L279.78232 66.25405L279.743242 101.256222C279.918398 106.21895 282.0221 111.115052 286.01542 114.8417C293.859442 122.1619034 306.479202 121.7336892 313.788028 113.890006C317.508884 109.896856 320.091364 104.701984 319.77359 99.606164L319.609014 18.986442C319.433858 14.023714 317.605666 9.118094 313.612344 5.391446C309.6190220000001 1.664796 304.591792 -0.093832 299.63268 0.07749L218.578588 0.045148C213.619474 0.21647 208.728476 2.31774 205.00762 6.310888C197.6987948 14.154572 198.1370232 27.4121 205.981046 34.732304C209.974366 38.458952 215.001598 40.21758 219.96071 40.04626L253.976806 40.059832L187.856118 107.057578C179.4894974 102.613368 169.946232 100.096006 159.8159188 100.096006C133.7215986 100.096006 111.5223872 116.798912 103.2951354 140.1121846L19.97698988 140.1121846C8.94400302 140.1121846 0 149.0701114 0 160.1202742C0 171.170437 8.94400302 180.1283638 19.97698988 180.1283638L103.2951354 180.1283638C111.5223872 203.441637 133.7215986 220.1445428 159.8159188 220.1445428C168.6205068 220.1445428 176.981644 218.2429472 184.512238 214.8274508L253.478608 280.1742186L218.574792 280.1350828C213.615818 280.3103712 208.723418 282.4156626 204.999584 286.4120044C197.6849148 294.2619612 198.1128938 306.6691248800001 205.950648 313.98347888C209.940778 317.70715 215.131724 320.291584222 220.223694 319.9735694902L300.710576 319.8088976582C305.66955 319.633609416 310.571462 317.8040327 314.295296 313.80769098C318.0191260000001 309.81134926 319.776426 304.7803162 319.605234 299.8174508L319.63748 218.8799938C319.466288 213.9171284 317.366606 209.0224306 313.3764760000001 205.2987596C305.538722 197.9844056 292.291214 198.4229654 284.976544 206.2729224C281.252714 210.269264 279.495414 215.3002972 279.666604 220.2631626L279.653114 254.1270406L212.851218 188.099858z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style })));
});
FlowBranch.defaultProps = {
size: IconSize.STANDARD,
};
FlowBranch.displayName = `Blueprint5.Icon.FlowBranch`;
export default FlowBranch;
//# sourceMappingURL=flow-branch.js.map