/*
 * 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 = ["M7.586 1.25c.46 0 .904.18 1.234.51l5.508 5.508c.682.681.683 1.782.005 2.465a949 949 0 0 1-4.62 4.633 1.71 1.71 0 0 1-2.42-.011L1.76 8.82a1.74 1.74 0 0 1-.51-1.234V3c0-.966.784-1.75 1.75-1.75zM3 2.75a.25.25 0 0 0-.25.25v4.586q.002.106.07.174l5.534 5.534a.21.21 0 0 0 .303.006 951 951 0 0 0 4.612-4.623.246.246 0 0 0-.001-.349L7.76 2.82a.24.24 0 0 0-.174-.07zM5 4a1 1 0 1 1 0 2 1 1 0 0 1 0-2"] as readonly string[];

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