@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
28 lines • 4.54 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 ThumbsDown = React.forwardRef((props, ref) => {
const isLarge = (props.size ?? IconSize.STANDARD) >= IconSize.LARGE;
const pixelGridSize = isLarge ? IconSize.LARGE : IconSize.STANDARD;
const translation = `${-1 * pixelGridSize / 0.05 / 2}`;
const style = { transformOrigin: "center" };
return (_jsx(SVGIconContainer, { iconName: "thumbs-down", ref: ref, ...props, children: _jsx("path", { d: isLarge ? "M371 268.8Q361.7000000000001 269.1 350.6 270C351.2000000000001 270 351.8 270.2 352.4000000000001 270.2C370 272.6 386 282.8 387.6 297.6C389.2000000000001 312.6 376.0000000000001 322.6 358.4000000000001 324.2C352 324.8 345.4000000000001 325.2 338.6000000000001 325.8C350.4000000000001 329.6 359.6000000000001 336.6 360.4000000000001 349.8C361.4000000000001 364.8 340.6000000000001 376.2 323.0000000000001 378C316.2000000000001 378.6 310.2000000000001 379 304.8000000000001 379.4H302.6C297.0000000000001 379.8 291.8000000000001 379.8 287.2000000000001 379.8C208.8000000000001 381.4 141.4000000000001 367.8 100.0000000000001 341.2V186.8C153.4000000000001 153.6 219.0000000000001 94.6 205.2000000000001 45.1999999999999C201.0000000000001 29.9999999999999 213.0000000000001 18.1999999999999 229.8000000000001 19.9999999999999C250.0000000000001 22.1999999999999 264.0000000000001 43.5999999999999 264.8000000000001 65.6C265.8000000000001 91.3999999999999 261.0000000000001 117.4 252.4000000000001 140.4C251.4000000000001 146.8 252.6000000000001 153.4 261.8000000000002 154C274.0000000000001 154.7999999999999 289.6000000000002 155.6 301.6000000000002 156C308.0000000000001 156 314.4000000000001 156.1999999999999 320.4000000000002 156.5999999999999H320.6000000000002C331.0000000000002 157.1999999999999 340.6000000000002 158 349.0000000000003 158.9999999999999C366.6000000000002 161.1999999999999 382.8000000000003 170.9999999999999 384.8000000000002 185.9999999999999S373.8000000000002 210.9999999999999 356.0000000000002 212.9999999999999C354.6000000000002 213.1999999999999 353.4000000000002 213.3999999999999 352.0000000000002 213.3999999999999C356.2000000000002 213.7999999999999 360.4000000000002 214.1999999999999 364.2000000000002 214.5999999999999C381.8000000000002 216.7999999999999 398.0000000000002 226.5999999999999 400.0000000000001 241.5999999999999C401.8000000000002 256.5999999999999 388.8000000000002 267.7999999999999 371.0000000000002 268.7999999999999M60 340H0V180H60C71 180 80 189 80 200V320C80 331 71 340 60 340" : "M40 280H0V140H40C51 140 60 149 60 160V260C60 271 51 280 40 280M319.8 192.4C321.4 204 311 212.8 296.8 213.4C291.8 213.6 286.4 214 280.6 214.4C281 214.4 281.6 214.6 282 214.6C296 216.6 308.8 224.4 310.2 236C311.4 247.6 301 255.4 286.8 256.8C281.8 257.2 276.4 257.6 271 258C280.4000000000001 261 287.8 266.4 288.4 276.6C289.2 288.2 272.6 297.2 258.4 298.4C253 298.8 248.2 299.2 243.8 299.4H242C237.4 299.8 233.4 299.8 229.6 300C167 301 113.2 290.6 80 269.8V149.8C122.8 124 175.2 78 164.2 39.6C160.6 27.8 170.4 18.6 183.8 20C200 21.8 211.2000000000001 38.2 211.8000000000001 55.6C212.6 75.6 208.8 95.8 201.8000000000001 113.8C201.0000000000001 118.8 202 123.8 209.2 124.4C219 125 231.4 125.6 241 126C246.2 126 251.2 126.2 256 126.4H256.2C264.4000000000001 126.8 272.2000000000001 127.4 278.8 128.2C292.8 130 305.8 137.6 307.4000000000001 149.2S298.6 168.6 284.4000000000001 170.2C283.4 170.4 282.2000000000001 170.4 281.2 170.6C284.6 170.8 287.8 171.2 291 171.6C305.4000000000001 173.2 318.4000000000001 180.8 319.8 192.4", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style }) }));
});
ThumbsDown.displayName = `Blueprint6.Icon.ThumbsDown`;
export default ThumbsDown;
//# sourceMappingURL=thumbs-down.js.map