/*
 * 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.833 1.25a.75.75 0 0 1 .75.75v2.5c0 .138.112.25.25.25H8.25V4A.75.75 0 0 1 9 3.25h4.25A.75.75 0 0 1 14 4v3a.75.75 0 0 1-.75.75H9A.75.75 0 0 1 8.25 7v-.75H3.833q-.127-.002-.25-.02v4.27c0 .138.112.25.25.25H8.25V10A.75.75 0 0 1 9 9.25h4.25A.75.75 0 0 1 14 10v3a.75.75 0 0 1-.75.75H9a.75.75 0 0 1-.75-.75v-.75H3.833a1.75 1.75 0 0 1-1.75-1.75V2a.75.75 0 0 1 .75-.75m6.917 11h2.75v-1.5H9.75zm0-7.5v1.5h2.75v-1.5z"] as readonly string[];

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