UNPKG

@blueprintjs/icons

Version:

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

28 lines 2.12 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.StarIcon = 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 = ["M8 .75c.19 0 .376.042.546.123l.164.093.148.117c.138.126.248.282.32.456l1.362 3.3 3.538.289h.01c.186.018.366.076.526.17l.153.105.137.127q.127.138.21.305l.07.172.044.181a1.28 1.28 0 0 1-.417 1.174l-.005.005-2.699 2.327.824 3.477.032.185a1.276 1.276 0 0 1-1.932 1.207l-.004-.003L8 12.699 4.973 14.56l-.004.002a1.275 1.275 0 0 1-1.9-1.391l.823-3.474L1.194 7.37a1.28 1.28 0 0 1-.382-1.361l.071-.174a1.3 1.3 0 0 1 .35-.434l.154-.105a1.3 1.3 0 0 1 .53-.168h.005L5.46 4.84l1.363-3.3c.096-.234.259-.434.468-.574l.163-.093C7.624.793 7.81.75 8 .75M6.67 5.836a.75.75 0 0 1-.631.462l-3.465.281 2.643 2.28a.75.75 0 0 1 .24.74l-.806 3.397 2.956-1.816.093-.05a.75.75 0 0 1 .693.05l2.954 1.816-.804-3.4a.75.75 0 0 1 .24-.74l2.639-2.277-3.46-.281a.75.75 0 0 1-.632-.462L8 2.618z"]; exports.StarIcon = React.forwardRef((props, ref) => { return ((0, jsx_runtime_1.jsx)(svgIconContainerNext_1.SvgIconContainerNext, { iconName: "star", ref: ref, ...props, children: PATHS.map((d, i) => ((0, jsx_runtime_1.jsx)("path", { d: d }, i))) })); }); exports.StarIcon.displayName = "Blueprint6.Icon.Next.StarIcon"; exports.default = exports.StarIcon; //# sourceMappingURL=star.js.map