@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
35 lines • 4.03 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.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.ArrowsArc = void 0;
var tslib_1 = require("tslib");
var React = tslib_1.__importStar(require("react"));
var iconTypes_1 = require("../../iconTypes");
var svgIconContainer_1 = require("../../svgIconContainer");
exports.ArrowsArc = React.forwardRef(function (props, ref) {
var isLarge = props.size >= iconTypes_1.IconSize.LARGE;
var pixelGridSize = isLarge ? iconTypes_1.IconSize.LARGE : iconTypes_1.IconSize.STANDARD;
var translation = "".concat(-1 * pixelGridSize / 0.05 / 2);
var style = { transformOrigin: "center" };
return (React.createElement(svgIconContainer_1.SVGIconContainer, tslib_1.__assign({ iconName: "arrows-arc", ref: ref }, props),
React.createElement("path", { d: isLarge ? "M84.9112 396.33884C89.7926 401.220388 97.7072 401.220388 102.5888 396.33884L182.1382 316.7894C187.0198 311.9078 187.0198 303.9932 182.1382 299.1116C177.2568 294.23 169.3422 294.23 164.4606 299.1116L106.16 357.4124L106.1596 357.3444C105.9526 312.4674 105.7964 278.634 110.7604 249.478C116.5778 215.3104 129.4266 188.094 158.8156 158.862C188.375 129.46 214.218 116.696 247.468 110.876C276.19 105.846 310.146 105.982 357.2120000000001 106.172C357.274 106.172 357.338 106.172 357.4000000000001 106.172L299.112 164.46C294.23 169.342 294.23 177.256 299.112 182.138C303.9940000000001 187.02 311.908 187.02 316.79 182.138L396.3400000000001 102.588C401.2200000000001 97.708 401.2200000000001 89.792 396.3400000000001 84.912L316.79 5.362C311.908 0.48 303.9940000000001 0.48 299.112 5.362C294.23 10.244 294.23 18.158 299.112 23.04L357.236 81.164C310.574 80.96 274.098 80.832 243.158 86.25C204.532 93.012 174.1258 108.372 141.1854 141.138C108.0746 174.072 92.7982 206.0296 86.1152 245.282C80.7934 276.5394 80.9306 312.7658 81.1504 357.2226L23.0392 299.1116C18.15772 294.23 10.24316 294.23 5.3616 299.1116C0.480052 303.9932 0.480052 311.9078 5.3616 316.7894L84.9112 396.33884z" : "M67.9284 317.07106C71.8336 320.97631 78.1652 320.97631 82.0706 317.07106L145.7102 253.4314C149.6154 249.5262 149.6154 243.1946 145.7102 239.2894C141.805 235.384 135.4732 235.384 131.568 239.2894L84.9274 285.9298L84.9272 285.8754C84.7616 249.974 84.6366 222.9072 88.6078 199.5824C93.2618 172.2482 103.5408 150.4758 127.052 127.09C150.6994 103.568 171.3742 93.358 197.9744 88.7C220.952 84.678 248.116 84.786 285.768 84.938C285.82 84.938 285.87 84.938 285.92 84.938L239.29 131.5686C235.384 135.4738 235.384 141.8054 239.29 145.7106C243.194 149.616 249.526 149.616 253.432 145.7106L317.072 82.072C320.976 78.166 320.976 71.834 317.072 67.928L253.432 4.29C249.526 0.384 243.194 0.384 239.29 4.29C235.384 8.194 235.384 14.526 239.29 18.432L285.788 64.93C248.458 64.768 219.278 64.666 194.5254 69C163.6256 74.41 139.3002 86.698 112.9478 112.91C86.4592 139.2572 74.238 164.8236 68.8916 196.2256C64.6342 221.2316 64.744 250.2126 64.9198 285.7782L18.43092 239.2894C14.52568 235.384 8.19404 235.384 4.2888 239.2894C0.383554 243.1946 0.383554 249.5262 4.2888 253.4314L67.9284 317.07106z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style })));
});
exports.ArrowsArc.defaultProps = {
size: iconTypes_1.IconSize.STANDARD,
};
exports.ArrowsArc.displayName = "Blueprint5.Icon.ArrowsArc";
exports.default = exports.ArrowsArc;
//# sourceMappingURL=arrows-arc.js.map
;