UNPKG

@blueprintjs/icons

Version:

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

24 lines 1.33 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 = ["M4 13.25h8V6.5H9a.75.75 0 0 1-.75-.75v-3H4zM9.75 5h1.44L9.75 3.56zm3.75 8.5a1.25 1.25 0 0 1-1.25 1.25h-8.5A1.25 1.25 0 0 1 2.5 13.5v-11a1.25 1.25 0 0 1 1.25-1.25h5.5c.199 0 .39.08.53.22l3.5 3.5c.14.14.22.331.22.53z"]; export const FileIcon = React.forwardRef((props, ref) => { return (_jsx(SvgIconContainerNext, { iconName: "file", ref: ref, ...props, children: PATHS.map((d, i) => (_jsx("path", { d: d }, i))) })); }); FileIcon.displayName = "Blueprint6.Icon.Next.FileIcon"; export default FileIcon; //# sourceMappingURL=file.js.map