UNPKG

@blueprintjs/icons

Version:

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

24 lines 2.57 kB
import { jsx as _jsx } from "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. */ import * as React from "react"; import { SvgIconContainerNext } from "../../svgIconContainerNext"; const PATHS = ["M14.25 10.79c0-.087-.05-.282-.433-.557-.344-.247-.87-.488-1.566-.7-1.073.317-2.646.883-4.251.883s-3.18-.566-4.252-.883c-.696.212-1.22.453-1.565.7-.384.275-.433.47-.433.557 0 .059.03.21.295.441.262.23.685.47 1.271.687 1.167.432 2.825.715 4.684.715s3.517-.283 4.684-.715c.586-.217 1.009-.458 1.271-.687.265-.23.295-.382.295-.441M9.981 3.148c-.115-.046-.167-.034-.218-.013-.091.036-.208.12-.4.298-.159.145-.414.4-.673.587-.28.203-.66.4-1.14.4-.632 0-1.225-.233-1.6-.37a4 4 0 0 0-.466-.149l-.054-.008c-.045.038-.145.15-.26.443-.14.358-.246.844-.33 1.405a32 32 0 0 0-.185 1.694c-.024.266-.05.532-.076.78 1.084.33 2.219.701 3.421.701 1.195 0 2.323-.367 3.4-.695-.038-.271-.073-.567-.11-.866a28 28 0 0 0-.288-1.896c-.125-.636-.28-1.203-.48-1.633-.207-.447-.405-.623-.54-.678m5.769 7.642c0 .654-.363 1.183-.81 1.572-.448.391-1.053.71-1.736.962-1.371.508-3.213.809-5.204.809s-3.833-.301-5.204-.809c-.683-.253-1.288-.57-1.736-.962-.447-.389-.81-.918-.81-1.572 0-.777.486-1.366 1.058-1.775.471-.339 1.08-.616 1.766-.842q.043-.372.087-.874c.05-.545.107-1.174.196-1.778.089-.597.214-1.215.416-1.732.19-.486.518-1.063 1.124-1.306l.124-.042c.289-.082.565-.05.769-.008.235.048.477.136.673.208.442.16.771.279 1.087.279.048 0 .123-.015.263-.116.162-.117.295-.257.534-.476.203-.187.492-.438.856-.585.405-.162.858-.18 1.34.014.662.267 1.073.863 1.34 1.437.274.591.457 1.295.59 1.976.135.687.228 1.392.304 1.998q.073.59.132 1c.694.227 1.308.505 1.783.847.572.41 1.058.998 1.058 1.775"]; export const HatIcon = React.forwardRef((props, ref) => { return (_jsx(SvgIconContainerNext, { iconName: "hat", ref: ref, ...props, children: PATHS.map((d, i) => (_jsx("path", { d: d }, i))) })); }); HatIcon.displayName = "Blueprint6.Icon.Next.HatIcon"; export default HatIcon; //# sourceMappingURL=hat.js.map