/*
 * 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.662 1.285a.75.75 0 0 1 1.335.537L9.576 6.25H12.5a.75.75 0 0 1 .579 1.229l-6 7.25a.751.751 0 0 1-1.32-.585l.627-4.394H3.5a.75.75 0 0 1-.588-1.215zM5.052 8.25H7.25a.75.75 0 0 1 .743.857l-.374 2.614 3.287-3.97H8.75a.75.75 0 0 1-.747-.822l.26-2.727z"] as readonly string[];

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