UNPKG

@blueprintjs/icons

Version:

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

28 lines 2.02 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FlagIcon = void 0; const tslib_1 = require("tslib"); const jsx_runtime_1 = require("react/jsx-runtime"); /* * Copyright 2026 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. */ const React = tslib_1.__importStar(require("react")); const svgIconContainerNext_1 = require("../../svgIconContainerNext"); const PATHS = ["M5.417 3a3.27 3.27 0 0 0-1.917.621v3.99a4.8 4.8 0 0 1 1.917-.402c1.172 0 2.073.395 2.837.723.778.334 1.418.6 2.246.6.706 0 1.452-.227 2-.622V3.735c-.655.426-1.55.59-2.444.59-.977 0-1.8-.423-2.468-.732C6.885 3.267 6.242 3 5.417 3M14 7.959a1.4 1.4 0 0 1-.568 1.13c-.835.622-1.921.943-2.932.943-1.172 0-2.074-.395-2.838-.722-.778-.334-1.418-.601-2.245-.601a3.27 3.27 0 0 0-1.917.62v4.421a.75.75 0 0 1-1.5 0V3.574c0-.22.052-.437.15-.634l.082-.142q.137-.207.336-.356l.157-.111A4.77 4.77 0 0 1 5.417 1.5c1.175 0 2.074.395 2.8.731.763.353 1.26.593 1.839.593.822 0 1.394-.17 1.68-.382.21-.156.46-.25.721-.274l.195-.005a1.42 1.42 0 0 1 1.135.666c.14.223.213.482.213.745z"]; exports.FlagIcon = React.forwardRef((props, ref) => { return ((0, jsx_runtime_1.jsx)(svgIconContainerNext_1.SvgIconContainerNext, { iconName: "flag", ref: ref, ...props, children: PATHS.map((d, i) => ((0, jsx_runtime_1.jsx)("path", { d: d }, i))) })); }); exports.FlagIcon.displayName = "Blueprint6.Icon.Next.FlagIcon"; exports.default = exports.FlagIcon; //# sourceMappingURL=flag.js.map