UNPKG

@blueprintjs/icons

Version:

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

24 lines 1.42 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 = ["M9.295 2.244a.75.75 0 0 1 1.41.512l-4 11a.75.75 0 0 1-1.41-.512zM3.52 4.924a.75.75 0 0 1 .96 1.152L2.172 8 4.48 9.924a.75.75 0 0 1-.96 1.152l-3-2.5a.75.75 0 0 1 0-1.152zm7.904.096a.75.75 0 0 1 1.056-.096l3 2.5a.75.75 0 0 1 0 1.152l-3 2.5a.75.75 0 0 1-.96-1.152L13.828 8 11.52 6.076a.75.75 0 0 1-.096-1.056"]; export const CodeIcon = React.forwardRef((props, ref) => { return (_jsx(SvgIconContainerNext, { iconName: "code", ref: ref, ...props, children: PATHS.map((d, i) => (_jsx("path", { d: d }, i))) })); }); CodeIcon.displayName = "Blueprint6.Icon.Next.CodeIcon"; export default CodeIcon; //# sourceMappingURL=code.js.map