/*
 * 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 type { SVGIconProps } from "../../../svgIconProps";
import { SvgIconContainerNext } from "../../svgIconContainerNext";

const PATHS = ["M2.75 12.25h10.5v-6.5H2.75zm0-8h3.581l-.667-.75H2.75zm12 8.306a1.195 1.195 0 0 1-1.194 1.194H2.459a1.21 1.21 0 0 1-1.209-1.209V3.25A1.25 1.25 0 0 1 2.5 2h3.275v.001q.2 0 .39.06l.123.048.118.06q.172.102.306.25l-.001.002L8.337 4.25H13.5c.29 0 .57.101.792.283l.092.083.083.092c.182.222.283.502.283.792z"] as readonly string[];

export const FolderIcon: React.FC<SVGIconProps> = React.forwardRef<any, SVGIconProps>((props, ref) => {
    return (
        <SvgIconContainerNext iconName="folder" ref={ref} {...props}>
            {PATHS.map((d, i) => (
                <path key={i} d={d} />
            ))}
        </SvgIconContainerNext>
    );
});
FolderIcon.displayName = "Blueprint6.Icon.Next.FolderIcon";
export default FolderIcon;
