@mozaic-ds/icons-react
Version:
ADS icons for React usage
19 lines (14 loc) • 1.3 kB
JavaScript
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var tslib_es6 = require('../../node_modules/tslib/tslib.es6.js');
var index = require('../../node_modules/react/index.js');
const Cart24 = (_a) => {
var { fill, size = '1.5rem' } = _a, rest = tslib_es6.__rest(_a, ["fill", "size"]);
return (index.default.createElement("svg", Object.assign({ "aria-hidden": "true", width: size, height: size }, rest, { fill: fill, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }),
index.default.createElement("g", { "clip-path": "url(#a)" },
index.default.createElement("path", { "fill-rule": "evenodd", d: "M2 5a1 1 0 0 1 1-1h2a1 1 0 0 1 .962.725L6.612 7H20a1 1 0 0 1 .928 1.371l-3 7.5A1 1 0 0 1 17 16.5H8a1 1 0 0 1-.962-.725l-2.142-7.5L4.246 6H3a1 1 0 0 1-1-1Zm5.183 4 1.571 5.5h7.569l2.2-5.5H7.183ZM9.5 19.5a.25.25 0 1 0 0 .5.25.25 0 0 0 0-.5Zm-2.25.25a2.25 2.25 0 1 1 4.5 0 2.25 2.25 0 0 1-4.5 0Zm8.25 0a.25.25 0 1 1 .5 0 .25.25 0 0 1-.5 0Zm.25-2.25a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5Z" })),
index.default.createElement("defs", null,
index.default.createElement("clipPath", { id: "a" },
index.default.createElement("rect", { width: "24", height: "24", fill: "#fff" })))));
};
exports.default = Cart24;