@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
30 lines • 2.49 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";
/** Path data for the 16px grid; matches {@link generate-icon-paths.mjs} / `<Icon />` from core. */
const PATHS_16 = ["M15 7.5a7.5 7.5 0 1 1-15 0 7.5 7.5 0 0 1 15 0M7.5 13c.694 0 1.357-.128 1.969-.363l.342-1.053-1.132-1.557H6.34L5.202 11.59l.341 1.052A5.5 5.5 0 0 0 7.5 13m5.499-5.39-1.179-.856-1.67.542-.686 2.113.002-.001 1.154 1.588h1.126a5.48 5.48 0 0 0 1.253-3.386m-9.74 3.392h1.135L5.54 9.424 4.854 7.31l-1.711-.556-1.142.83a5.48 5.48 0 0 0 1.258 3.418M8 4.963l1.883 1.369 1.628-.53.48-1.477a5.5 5.5 0 0 0-2.89-2.088L8 3.037zM5.899 2.237A5.5 5.5 0 0 0 2.983 4.36l.47 1.442 1.652.537L7 4.963V3.037z"];
/** Path data for the 20px grid; matches {@link generate-icon-paths.mjs} / `<Icon />` from core. */
const PATHS_20 = ["M9.5 19a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19m0-2a7.5 7.5 0 0 1-2.313-.363l-.665-2.048 1.152-1.585h3.824l1.152 1.585-.644 1.982A7.5 7.5 0 0 1 9.5 17m-6-2.999A7.47 7.47 0 0 1 2 9.5v-.05l1.557-1.132 2.337.76 1.038 3.246L5.712 14zM17 9.5a7.47 7.47 0 0 1-1.5 4.501h-2.04l-1.339-1.842.976-3.05 2.432-.79 1.47 1.068zM3.225 5.391a7.53 7.53 0 0 1 3.539-2.876l2.232 1.622v1.885L6.163 8.113l-2.296-.746zM15.22 7.367l-2.357.766-2.867-2.117v-1.88l2.235-1.623a7.53 7.53 0 0 1 3.602 2.967z"];
export const SoccerBall = React.forwardRef((props, ref) => {
const isLarge = (props.size ?? IconSize.STANDARD) >= IconSize.LARGE;
const paths = isLarge ? PATHS_20 : PATHS_16;
return (_jsx(SVGIconContainer, { iconName: "soccer-ball", ref: ref, ...props, children: paths.map((d, i) => (_jsx("path", { d: d, fillRule: "evenodd" }, i))) }));
});
SoccerBall.displayName = `Blueprint6.Icon.SoccerBall`;
export default SoccerBall;
//# sourceMappingURL=soccer-ball.js.map