@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
30 lines • 3.28 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 = ["M8.002 16a6.8 6.8 0 0 1-2.732-.556 7.1 7.1 0 0 1-2.221-1.509 7.2 7.2 0 0 1-1.498-2.237A6.9 6.9 0 0 1 1 8.947q0-1.468.551-2.748a7.1 7.1 0 0 1 1.503-2.234 7.2 7.2 0 0 1 2.225-1.51A6.8 6.8 0 0 1 8.01 1.9h.111l-.47-.474a.8.8 0 0 1-.244-.583q0-.339.233-.583A.8.8 0 0 1 8.228 0a.78.78 0 0 1 .588.24l1.93 1.945a.97.97 0 0 1 .294.7q0 .402-.294.697l-1.93 1.946a.78.78 0 0 1-.588.24.8.8 0 0 1-.588-.249.82.82 0 0 1-.238-.578.78.78 0 0 1 .238-.577l.491-.496h-.12q-2.105 0-3.581 1.478T2.954 8.944t1.469 3.604Q5.89 14.031 8 14.031t3.577-1.478q1.47-1.477 1.47-3.598 0-.41.284-.698a.94.94 0 0 1 .692-.287q.407 0 .692.287t.285.698q0 1.455-.551 2.741a7.1 7.1 0 0 1-1.498 2.239 7.1 7.1 0 0 1-2.219 1.51 6.75 6.75 0 0 1-2.73.555M9 7h1a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1m1 1H9v3h1zm-5-.5a.5.5 0 0 1 .5-.5H6a1 1 0 0 1 1 1v3.5a.5.5 0 0 1-1 0V8h-.5a.5.5 0 0 1-.5-.5"];
/** Path data for the 20px grid; matches {@link generate-icon-paths.mjs} / `<Icon />` from core. */
const PATHS_20 = ["M9.754 20a8.5 8.5 0 0 1-3.417-.693 8.9 8.9 0 0 1-2.772-1.872 8.9 8.9 0 0 1-1.872-2.772A8.5 8.5 0 0 1 1 11.246a8.5 8.5 0 0 1 .693-3.416 8.9 8.9 0 0 1 1.872-2.772 8.9 8.9 0 0 1 2.772-1.872 8.5 8.5 0 0 1 3.417-.693h.145l-.826-.827a.9.9 0 0 1-.28-.68q.012-.39.28-.682a1 1 0 0 1 1.07-.24.9.9 0 0 1 .316.216l2.504 2.505a.93.93 0 0 1 .292.68q0 .39-.292.681L10.46 6.651a.9.9 0 0 1-.693.28 1 1 0 0 1-.906-1.355.9.9 0 0 1 .213-.311l.826-.827h-.145q-2.846 0-4.827 1.982-1.983 1.98-1.983 4.826t1.982 4.827q1.981 1.982 4.827 1.982t4.826-1.982 1.982-4.827a.94.94 0 0 1 .28-.693.94.94 0 0 1 .693-.28q.413 0 .692.28a.94.94 0 0 1 .28.693 8.5 8.5 0 0 1-.693 3.417 8.9 8.9 0 0 1-1.872 2.772 8.9 8.9 0 0 1-2.772 1.872A8.5 8.5 0 0 1 9.754 20M11.5 9.5v3h1v-3zM11 8h2a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1M9 9v4.25a.75.75 0 1 1-1.5 0V9.5h-.75a.75.75 0 0 1 0-1.5H8a1 1 0 0 1 1 1"];
export const ForwardTen = React.forwardRef((props, ref) => {
const isLarge = (props.size ?? IconSize.STANDARD) >= IconSize.LARGE;
const paths = isLarge ? PATHS_20 : PATHS_16;
return (_jsx(SVGIconContainer, { iconName: "forward-ten", ref: ref, ...props, children: paths.map((d, i) => (_jsx("path", { d: d, fillRule: "evenodd" }, i))) }));
});
ForwardTen.displayName = `Blueprint6.Icon.ForwardTen`;
export default ForwardTen;
//# sourceMappingURL=forward-ten.js.map