/*
 * 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 = ["M4.5 13.25h7v-8h-7zm1.25-2v-4a.75.75 0 0 1 1.5 0v4a.75.75 0 0 1-1.5 0m3 0v-4a.75.75 0 0 1 1.5 0v4a.75.75 0 0 1-1.5 0m1-8.25a.25.25 0 0 0-.25-.25h-3a.25.25 0 0 0-.25.25v.75h3.5zm1.5.75h2.25a.75.75 0 0 1 0 1.5H13v8.25a1.25 1.25 0 0 1-1.25 1.25h-7.5A1.25 1.25 0 0 1 3 13.5V5.25h-.5a.75.75 0 0 1 0-1.5h2.25V3A1.75 1.75 0 0 1 6.5 1.25h3A1.75 1.75 0 0 1 11.25 3z"] as readonly string[];

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