UNPKG

@blueprintjs/icons

Version:

Components, fonts, icons, and css files for creating and displaying icons.

30 lines 2.32 kB
import { jsx as _jsx } from "react/jsx-runtime"; /* * Copyright 2024 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 { IconSize } from "../../iconTypes"; import { SVGIconContainer } from "../../svgIconContainer"; /** Path data for the 16px grid; matches {@link generate-icon-paths.mjs} / `<Icon />` from core. */ const PATHS_16 = ["M4.16 9.002H.977C.44 9.002 0 8.532 0 7.994c0-.537.44-.99.978-.99h3.18A3.01 3.01 0 0 1 6.995 5a3.01 3.01 0 0 1 2.839 2.004h2.98q-1.347-1.134-1.518-1.31a1.03 1.03 0 0 1-.293-.705c0-.538.454-.989.992-.989a.95.95 0 0 1 .697.294q.177.186 3.014 3.016a.96.96 0 0 1 .293.684.98.98 0 0 1-.284.695l-3.018 3.027a.97.97 0 0 1-.694.284.996.996 0 0 1-.707-1.705l1.518-1.293H9.833A3.01 3.01 0 0 1 6.996 11 3.01 3.01 0 0 1 4.16 9.002"]; /** Path data for the 20px grid; matches {@link generate-icon-paths.mjs} / `<Icon />` from core. */ const PATHS_20 = ["M5.125 10.997H.976C.439 10.997 0 10.537 0 10s.44-.993.976-.993h4.148a4.002 4.002 0 0 1 7.752 0h3.776L14.293 6.69a.96.96 0 0 1-.285-.687c0-.537.46-1.001.996-1.001a.96.96 0 0 1 .698.3l4.005 4.015c.176.176.293.41.293.683a.97.97 0 0 1-.283.693L15.702 14.7a1 1 0 0 1-.698.297c-.537 0-.996-.453-.996-.99 0-.273.107-.517.283-.692l2.371-2.318h-3.787a4.002 4.002 0 0 1-7.75 0"]; export const FlowLinear = React.forwardRef((props, ref) => { const isLarge = (props.size ?? IconSize.STANDARD) >= IconSize.LARGE; const paths = isLarge ? PATHS_20 : PATHS_16; return (_jsx(SVGIconContainer, { iconName: "flow-linear", ref: ref, ...props, children: paths.map((d, i) => (_jsx("path", { d: d, fillRule: "evenodd" }, i))) })); }); FlowLinear.displayName = `Blueprint6.Icon.FlowLinear`; export default FlowLinear; //# sourceMappingURL=flow-linear.js.map