/*
 * 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 = ["M10.72 7.97a.75.75 0 1 1 1.06 1.06l-.22.22H14a.75.75 0 0 1 0 1.5h-2.44l.22.22a.75.75 0 1 1-1.06 1.06l-1.5-1.5a.7.7 0 0 1-.12-.16q-.024-.041-.043-.084a.75.75 0 0 1-.002-.568l.004-.01q.018-.04.042-.078a.8.8 0 0 1 .119-.16zM7.25 9.25a.75.75 0 0 1 0 1.5H2a.75.75 0 0 1 0-1.5zM14 5a.75.75 0 0 1 0 1.5H2A.75.75 0 0 1 2 5z"] as readonly string[];

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