/*
 * 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 = ["M12.25 1.25A.75.75 0 0 1 13 2v1h1a.75.75 0 0 1 0 1.5h-1v2.75h1a.75.75 0 0 1 0 1.5h-1v2.5h1a.75.75 0 0 1 0 1.5h-1V14a.75.75 0 0 1-1.5 0v-1.25H8.75V14a.75.75 0 0 1-1.5 0v-1.25H4.5V14A.75.75 0 0 1 3 14v-1.25H2a.75.75 0 0 1 0-1.5h1v-2.5H2a.75.75 0 0 1 0-1.5h1V4.5H2A.75.75 0 0 1 2 3h1V2a.75.75 0 0 1 1.5 0v1h2.75V2a.75.75 0 0 1 1.5 0v1h2.75V2a.75.75 0 0 1 .75-.75m-3.5 7.5v2.5h2.75v-2.5zm-4.25 2.5h2.75v-2.5H4.5zM8.75 4.5v2.75h2.75V4.5zM4.5 7.25h2.75V4.5H4.5z"] as readonly string[];

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