/*
 * 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 = ["M9.823 1.117a1.25 1.25 0 0 1 1.768 0l3.293 3.292a1.25 1.25 0 0 1 0 1.768l-8.707 8.707a1.25 1.25 0 0 1-1.768 0l-3.293-3.293a1.25 1.25 0 0 1 0-1.767zM9.061 4l1.47 1.47A.75.75 0 0 1 9.47 6.53L8 5.06 7.06 6l1.47 1.47a.75.75 0 0 1-1.06 1.06L6 7.06 5.06 8l1.47 1.47a.75.75 0 0 1-1.06 1.06L4 9.06l-1.646 1.647 2.94 2.94 8.353-8.354-2.94-2.94z"] as readonly string[];

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