@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
32 lines • 3.97 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 { __assign } from "tslib";
import * as React from "react";
import { IconSize } from "../../iconTypes";
import { SVGIconContainer } from "../../svgIconContainer";
export var Diagnosis = React.forwardRef(function (props, ref) {
var isLarge = props.size >= IconSize.LARGE;
var pixelGridSize = isLarge ? IconSize.LARGE : IconSize.STANDARD;
var translation = "".concat(-1 * pixelGridSize / 0.05 / 2);
var style = { transformOrigin: "center" };
return (React.createElement(SVGIconContainer, __assign({ iconName: "diagnosis", ref: ref }, props),
React.createElement("path", { d: isLarge ? "M80 360C91.045695 360 100 351.045695 100 340C100 329.7432832 92.2791962 321.2898568 82.3324226 320.1345546L80 320L80 220C80 198.912764 96.3175558 181.636698 117.0147532 180.109714L120 180C141.087236 180 158.3633024 196.317556 159.8902852 217.0147532L160 220L160 320C148.954305 320 140 328.954305 140 340C140 350.2567168 147.7208038 358.7101432 157.6675774 359.8654454L160 360L180 360C190.2567168 360 198.7101432 352.2791962 199.8654454 342.3324226L200 340L200 220C200 182.728696 174.5120448 151.41042 140.0152268 142.52427L140 140C140 106.862916 166.862915 80 200 80C242.843908 80 277.821578 113.67937 279.9020940000001 156.007194L280 160L280.003496 224.1589092C262.342582 231.873677 250 249.4954564 250 270C250 297.6142374 272.385762 320 300 320C327.614238 320 350 297.6142374 350 270C350 249.503235 337.666782 231.8870474 320.0166000000001 224.1676936L320 160C320 93.72583 266.2741700000001 40 200 40C146.224906 40 102.3636378 82.446134 100.0923902 135.662208L100 140L100.0077968 142.518344C66.7386466 151.077634 41.8432012 180.4994 40.0979062 216.0071932L40 220L40 340C40 350.2567168 47.7208038 358.7101432 57.6675774 359.8654454L60 360L80 360z" : "M64 300C75.045695 300 84 291.045695 84 280C84 269.7432832 76.2791962 261.2898568 66.3324226 260.1345546L64 260L60 260L60 200C60 178.912764 76.3175558 161.6366976 97.0147532 160.1097148L100 160C121.087236 160 138.3633024 176.3175558 139.8902852 197.0147532L140 200L140 260L136 260C125.7432832 260 117.2898568 267.7208038 116.1345546 277.6675774000001L116 280C116 290.2567168 123.7208038 298.7101432 133.6675774 299.8654454L136 300L160 300C170.2567168 300 178.7101432 292.2791962 179.8654454 282.3324226L180 280L180 200C180 162.6707978 154.4327974 131.3131358 119.8543998 122.4830216C119.8526456 122.4406944 119.8591538 122.3865914 119.8654454 122.3324226L120 120C120 86.862916 146.862915 60 180 60C211.953618 60 238.073218 84.9784 239.898146 116.474544L240 120L239.9834 164.1676936C222.333218 171.8870474 210 189.503235 210 210C210 237.6142374 232.385762 260 260 260C287.614238 260 310 237.6142374 310 210C310 189.4954564 297.657418 171.873677 279.996504 164.1589092L280 120C280 64.771526 235.228474 20 180 20C124.771525 20 80 64.771526 80 120C80 120.844835 80.052383 121.6774354 80.154078 122.4947304C46.8077766 130.9960002 21.8456228 160.450132 20.0979062 196.0071932L20 200L20 280C20 290.2567168 27.7208038 298.7101432 37.6675774 299.8654454L40 300L64 300z", fillRule: "evenodd", transform: "scale(0.05, -0.05) translate(".concat(translation, ", ").concat(translation, ")"), style: style })));
});
Diagnosis.defaultProps = {
size: IconSize.STANDARD,
};
Diagnosis.displayName = "Blueprint5.Icon.Diagnosis";
export default Diagnosis;
//# sourceMappingURL=diagnosis.js.map