@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
35 lines • 3.81 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.WrenchRedo = 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.WrenchRedo = 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: "wrench-redo", ref: ref }, props),
React.createElement("path", { d: isLarge ? "M80 220C46.8 220 20 246.8 20 280S46.8 340 80 340H111.8L105.8 345.8C102.2 349.4 100 354.4 100 360C100 371 109 380 120 380C125.6 380 130.6 377.8 134.2 374.2L174.2 334.2C177.8 330.6 180 325.6 180 320C180 314.4 177.8 309.4 174.2 305.8L134.2 265.8C130.6 262.2000000000001 125.6 260 120 260C109 260 100 269 100 280C100 285.6 102.2 290.6 105.8 294.2L111.8 300H80C69 300 60 291 60 280S69 260 80 260C91.0456 260 100 251.0458 100 240C100 228.9544 91.0456 220 80 220zM270.002 80C253.58 80 237.998 83.598 224.002 90.052L165.124 31.174C150.226 16.276 126.0714 16.276 111.1734 31.174C96.2754 46.072 96.2756 70.226 111.1736 85.124L170.052 144.002C163.6008 157.998 160.0024 173.578 160.0024 190C160.0024 250.7514 209.252 300 270.002 300C289.476 300 307.7680000000001 294.9394 323.636 286.0616L248.788 211.2142C237.072 199.498 237.072 180.504 248.788 168.788C260.504 157.072 279.498 157.072 291.214 168.788L366.062 243.6358C374.942 227.7684000000001 380.002 209.4752 380.002 190C380.002 129.2480000000001 330.754 80.0000000000001 270.002 80.0000000000001z" : "M154.2 245.8L114.2 205.8C110.6 202.2 105.6 200 100 200C89 200 80 209 80 220C80 225.6 82.2 230.6 85.8 234.2L91.8 240H60C49 240 40 231 40 220S49 200 60 200C71.0456 200 80 191.0458 80 180C80 168.9544 71.0456 160 60 160C26.8 160 0 186.8 0 220S26.8 280 60 280H91.8L85.8 285.8C82.2 289.4 80 294.4 80 300C80 311 89 320 100 320C105.6 320 110.6 317.8 114.2 314.2L154.2 274.2C157.8 270.6 160 265.6 160 260C160 254.4 157.8 249.4 154.2 245.8zM191.6926 68.532L132.0992 8.938C120.1808 -2.98 100.8572 -2.98 88.9388 8.938C77.0204 20.858 77.0204 40.18 88.9388 52.1L148.5324 111.692C132.846 145.0576 138.7886 186.0678 166.3604 213.6396C194.0696 241.3488 235.3520000000001 247.2128 268.8060000000001 231.2314L208.786 171.2126C197.071 159.497 197.071 140.502 208.786 128.7862C220.5020000000001 117.07 239.4980000000001 117.07 251.214 128.7862L311.2320000000001 188.8048C327.2120000000001 155.351 321.348 114.0700000000001 293.64 86.36C266.068 58.788 225.058 52.8460000000001 191.6926 68.532z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style })));
});
exports.WrenchRedo.defaultProps = {
size: iconTypes_1.IconSize.STANDARD,
};
exports.WrenchRedo.displayName = "Blueprint5.Icon.WrenchRedo";
exports.default = exports.WrenchRedo;
//# sourceMappingURL=wrench-redo.js.map
;