@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
24 lines • 1.82 kB
JavaScript
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 = ["M8 .751c.21 0 .417.053.6.153l5.5 3.012c.147.08.276.19.38.32l.094.138.076.148c.066.154.1.32.1.488v5.98a1.25 1.25 0 0 1-.65 1.093l-5.5 3.012a1.25 1.25 0 0 1-1.2 0l-5.5-3.011v-.001a1.25 1.25 0 0 1-.65-1.093V5.01l.012-.167a1.3 1.3 0 0 1 .164-.469l.095-.138c.103-.13.231-.24.378-.32L7.4.904c.184-.1.39-.153.6-.153m-5.25 4.41v5.678L8 13.713l5.25-2.874V5.16L8 2.285zM8 3.998a1 1 0 0 1 .366.07l.114.053 2.75 1.505q.178.098.304.257l.075.11.06.12q.08.185.081.388v2.992a1 1 0 0 1-.52.875l-2.75 1.506a1 1 0 0 1-.96 0l-2.75-1.506a1 1 0 0 1-.52-.875V6.502l.009-.133a1 1 0 0 1 .132-.375l.075-.11q.126-.16.304-.257l2.75-1.505C7.667 4.042 7.832 4 8 4M5.75 6.801v2.394L8 10.428l2.25-1.233V6.801L8 5.568z"];
export const HexagonIcon = React.forwardRef((props, ref) => {
return (_jsx(SvgIconContainerNext, { iconName: "hexagon", ref: ref, ...props, children: PATHS.map((d, i) => (_jsx("path", { d: d }, i))) }));
});
HexagonIcon.displayName = "Blueprint6.Icon.Next.HexagonIcon";
export default HexagonIcon;
//# sourceMappingURL=hexagon.js.map