/*
 * 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 = ["M8 1.75a.75.75 0 0 1 0 1.5H3.25v9.5h9.5V8a.75.75 0 0 1 1.5 0v5c0 .69-.56 1.25-1.25 1.25H3c-.69 0-1.25-.56-1.25-1.25V3c0-.69.56-1.25 1.25-1.25zm4.741-.28c.488.012.928.226 1.245.543s.531.757.543 1.245c.012.5-.187.999-.605 1.416l-4.5 4.5a.6.6 0 0 1-.294.161l-2.25.5a.6.6 0 0 1-.716-.716l.5-2.25.024-.081a.6.6 0 0 1 .138-.212l4.5-4.5c.418-.418.916-.618 1.415-.606"] as readonly string[];

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