@carbon/icons-react
Version:
React components for icons in digital and software products using the Carbon Design System
50 lines (46 loc) • 1.76 kB
JavaScript
/**
* Copyright IBM Corp. 2016, 2023
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
*/
'use strict';
var React = require('react');
var Icon_js = require('./Icon.js');
var iconPropTypes = require('./iconPropTypes-BoFFIf2P.js');
require('@carbon/icon-helpers');
require('prop-types');
var _circle, _circle2, _path, _path2;
const ShoppingCartError = /*#__PURE__*/React.forwardRef(function ShoppingCartError({
children,
size = 16,
...rest
}, ref) {
return /*#__PURE__*/React.createElement(Icon_js, {
width: size,
height: size,
ref: ref,
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 32 32",
fill: "currentColor",
...rest
}, _circle || (_circle = /*#__PURE__*/React.createElement("circle", {
cx: "10",
cy: "28",
r: "2"
})), _circle2 || (_circle2 = /*#__PURE__*/React.createElement("circle", {
cx: "24",
cy: "28",
r: "2"
})), _path || (_path = /*#__PURE__*/React.createElement("path", {
d: "M4.9806,2.8039A1,1,0,0,0,4,2H0V4H3.18L7.0194,23.1961A1,1,0,0,0,8,24H26V22H8.82l-.8-4H26a1,1,0,0,0,.9762-.783L29.2445,7H27.1971l-1.9989,9H7.62Z"
})), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
d: "M17,2a6,6,0,1,0,6,6A6.0066,6.0066,0,0,0,17,2Zm0,2a3.9521,3.9521,0,0,1,2.019.5669L13.5669,10.019A3.9529,3.9529,0,0,1,13,8,4.0045,4.0045,0,0,1,17,4Zm0,8a3.9521,3.9521,0,0,1-2.019-.5669L20.4331,5.981A3.9529,3.9529,0,0,1,21,8,4.0045,4.0045,0,0,1,17,12Z"
})), children);
});
if (process.env.NODE_ENV !== "production") {
ShoppingCartError.propTypes = iconPropTypes.iconPropTypes;
}
module.exports = ShoppingCartError;