@blueprintjs/icons
Version:
Components, fonts, icons, and css files for creating and displaying icons.
28 lines • 1.78 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CartIcon = void 0;
const tslib_1 = require("tslib");
const jsx_runtime_1 = require("react/jsx-runtime");
/*
* 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.
*/
const React = tslib_1.__importStar(require("react"));
const svgIconContainerNext_1 = require("../../svgIconContainerNext");
const PATHS = ["M3.673 1.76c.29.05.53.269.601.563L4.62 3.75H14a.75.75 0 0 1 .732.912l-.76 3.429-.001-.001a1.75 1.75 0 0 1-1.714 1.41H6.012l.181.752.01.043a.25.25 0 0 0 .245.205H12c.13 0 .25.036.357.095A2 2 0 1 1 9.815 12h-2.13a2 2 0 1 1-2.91-1.246 2 2 0 0 1-.039-.15v.002L2.955 3.25H2a.75.75 0 0 1 0-1.5h1.546zM5.75 12a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1m6 0a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1M5.648 8h6.608a.25.25 0 0 0 .246-.205l.006-.028.557-2.517H4.982z"];
exports.CartIcon = React.forwardRef((props, ref) => {
return ((0, jsx_runtime_1.jsx)(svgIconContainerNext_1.SvgIconContainerNext, { iconName: "cart", ref: ref, ...props, children: PATHS.map((d, i) => ((0, jsx_runtime_1.jsx)("path", { d: d }, i))) }));
});
exports.CartIcon.displayName = "Blueprint6.Icon.Next.CartIcon";
exports.default = exports.CartIcon;
//# sourceMappingURL=cart.js.map