@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
30 lines • 2.19 kB
JavaScript
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 = ["M11.9 4.01c.03-.01.07-.01.1-.01a4 4 0 0 1 3.907 3.14 3 3 0 0 0-3.028.739L10 10.757l-.879-.878A3 3 0 0 0 4 12h-.5C1.57 12 0 10.43 0 8.5c0-1.4.83-2.61 2.02-3.17C2.01 5.22 2 5.11 2 5a5 5 0 0 1 9.9-.99m3.865 5.346a1 1 0 0 1-.058 1.351l-5 5a1 1 0 0 1-1.414 0l-3-3a1 1 0 0 1 1.414-1.414L10 13.586l4.293-4.293a1 1 0 0 1 1.472.063"];
/** Path data for the 20px grid; matches {@link generate-icon-paths.mjs} / `<Icon />` from core. */
const PATHS_20 = ["M14.784 4.022a2 2 0 0 1-.144.018C13.83 1.69 11.62 0 9 0 5.69 0 3 2.69 3 6q0 .037.005.07l.005.07A3.98 3.98 0 0 0 0 10c0 2.21 1.79 4 4 4h1.17a3 3 0 0 1 4.95-1.121l.88.878 4.879-4.878a3 3 0 0 1 4.115-.12A5 5 0 0 0 15 4q-.108.002-.216.022m-3.077 14.685a1 1 0 0 1-1.414 0l-3-3a1 1 0 1 1 1.414-1.414L11 16.586l6.293-6.293a1 1 0 0 1 1.414 1.414z"];
export const CloudTick = React.forwardRef((props, ref) => {
const isLarge = (props.size ?? IconSize.STANDARD) >= IconSize.LARGE;
const paths = isLarge ? PATHS_20 : PATHS_16;
return (_jsx(SVGIconContainer, { iconName: "cloud-tick", ref: ref, ...props, children: paths.map((d, i) => (_jsx("path", { d: d, fillRule: "evenodd" }, i))) }));
});
CloudTick.displayName = `Blueprint6.Icon.CloudTick`;
export default CloudTick;
//# sourceMappingURL=cloud-tick.js.map