UNPKG

@blueprintjs/icons

Version:

Components, fonts, icons, and css files for creating and displaying icons.

31 lines 2.47 kB
/* * 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 Build = 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: "build", ref: ref, ...props }, React.createElement("path", { d: isLarge ? "M388.6 66.6L186.2 243.8L215.6 275C223.8 283.8 212.6 291 218.6 307C240.2000000000001 362.2 302.4000000000001 366.8 302.4000000000001 366.8S311.4 376.2 319.8 385.2C239.6 420 185.2 386 160.8 364L76.6 275L59.4 256.6C49.8 246.4 49.8 230 59.4 219.8L42 201.4C32.4 211.6 16.8 211.6 7.2 201.4S-2.4 174.8 7.2 164.6L42 127.8C51.6 117.6 67.2 117.6 76.8 127.8C86.4 138 86.4 154.4 76.8 164.6L94.2 183C103.8 172.8 119.4 172.8 129 183L157.2 212.8L333.4000000000001 11.4C348.6000000000001 -3.8 373.4000000000001 -3.8 388.6 11.4C403.8 26.6 403.8 51.4 388.6 66.6z" : "M307.8 71.8L154 200L175.4 222C182.2 228.8 173 234.6 177.8 247.2C195.4 290.6 246 294.2 246 294.2S253.2 301.6 260.2 308.6C194.8 336.2 150.6 309.4 130.8 292L62.4 222L48.2 207.6C40.4 199.6 40.4 186.6 48.2 178.6L34.2 164.2C26.4 172.2 13.8 172.2 6 164.2S-1.8 143.2 6 135.2L34.2 106.2C42 98.2 54.6 98.2 62.4 106.2S70.2 127.2 62.4 135.2L76.6 149.6C84.4 141.6 97 141.6 104.8 149.6L120.8 166L248.6 12.6C265 -3.8 291.4 -3.8 307.8 12.6C324 29 324 55.6 307.8 71.8z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }))); }); Build.defaultProps = { size: IconSize.STANDARD, }; Build.displayName = `Blueprint5.Icon.Build`; export default Build; //# sourceMappingURL=build.js.map