@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
31 lines • 3.84 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 * as React from "react";
import { IconSize } from "../../iconTypes";
import { SVGIconContainer } from "../../svgIconContainer";
export const BritishPound = 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: "british-pound", ref: ref, ...props },
React.createElement("path", { d: isLarge ? "M192.3988 296.5256C184.3582 286.0470000000001 180 273.208 180 260V220H260C271.046 220 280 211.0456 280 200V180C280 168.954 271.046 160 260 160H180V132.464C180 112.726 176.259 95.128 169.3148 80H340V50V20H60V80H70C84.3034 80 96.6852 84.332 105.0766 91.786C112.8312 98.674 120 110.684 120 132.464V159.996L80 160C68.9544 160 60 168.954 60 180V200C60 211.0456 68.9544 220 80 220H120V260C120 286.4162 128.7164 312.094 144.7976 333.0514C160.8788 354.0086 183.4258 369.074 208.942 375.911C234.458 382.74804 261.516 380.97452 285.922 370.8654C310.3280000000001 360.7564 326.7920000000001 342.877 340 320L291.962 290C285.358 301.4384 275.164 310.3782 262.96 315.4328C250.758 320.4872000000001 237.228 321.374 224.47 317.9554C211.712 314.537 200.44 307.0042 192.3988 296.5256z" : "M144.0062 291.4454C131.7016 285.2466 121.1742 275.957 113.4824 264.4456C104.692 251.2896 100 235.8224 100 220L100 180H80C68.9544 180 60 171.0456 60 160C60 148.9542 68.9544 140 80 140H100V110C100 87.338 95.4198 74.186 90.859 67.344C86.654 61.036 82.599 60 80 60H60V20H260V60H131.82C137.2244 73.684 140 90.436 140 110V140H200C211.046 140 220 148.9542 220 160C220 171.0456 211.046 180 200 180H140V220C140 228.8054 142.9056 237.3646 148.266 244.3504C149.2794 245.671 150.3696 246.9214 151.5292 248.0964C152.5116 249.0918 153.5446 250.0344 154.6242 250.9204C156.75 252.665 159.0556 254.1902 161.5068 255.4684C162.5436 256.0088 163.6064 256.5052 164.6926 256.9552C165.8348 257.4282 166.9946 257.8466 168.1686 258.2102C168.658 258.3618 169.151 258.504 169.6474 258.637C169.9188 258.7098 170.191 258.7796 170.4634 258.8466C176.122 260.2356 182.041 260.3776 187.8036 259.2314C190.2284 258.749 192.5914 258.0454 194.8652 257.1352C199.8678 255.1326 204.438 252.1302 208.284 248.2842C210.74 245.828 212.882 243.047 214.642 240L249.282 260C245.764 266.094 241.48 271.6562 236.568 276.5686C233.072 280.0648 229.276 283.2126 225.236 285.9824C221.676 288.423 217.926 290.5702 214.024 292.4038C213.056 292.8594 212.076 293.2954 211.09 293.712C210.932 293.7786 210.774 293.8446 210.614 293.9104C208.512 294.7818 206.368 295.5642000000001 204.192 296.2548C199.7402 297.6668 195.189 298.6818 190.591 299.2958C186.6196 299.8264 182.6258 300.05608 178.6428 299.9884C172.1472 299.8784 165.649 298.9766 159.2946 297.274C158.1764 296.9744 157.0668 296.6512 155.9664 296.3046", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style })));
});
BritishPound.defaultProps = {
size: IconSize.STANDARD,
};
BritishPound.displayName = `Blueprint5.Icon.BritishPound`;
export default BritishPound;
//# sourceMappingURL=british-pound.js.map