@littlespoon/icons
Version:
Little Spoon icons
44 lines • 3.23 kB
JavaScript
;
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
return cooked;
};
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var __rest = (this && this.__rest) || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.BillIconBase = void 0;
var jsx_runtime_1 = require("react/jsx-runtime");
var token_1 = require("@littlespoon/theme/lib/colors/token");
var styled_components_1 = __importDefault(require("styled-components"));
var css_helpers_1 = require("./utils/css-helpers");
function BillIcon(_a) {
var _b = _a.fill, fill = _b === void 0 ? token_1.shadeBlack : _b, stroke = _a.stroke, _c = _a.size, size = _c === void 0 ? 'small' : _c, other = __rest(_a, ["fill", "stroke", "size"]);
return ((0, jsx_runtime_1.jsxs)(exports.BillIconBase, __assign({ xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", size: size }, other, { children: [(0, jsx_runtime_1.jsx)("title", { children: "Bill icon" }), (0, jsx_runtime_1.jsx)("desc", { children: "Bill icon" }), (0, jsx_runtime_1.jsx)("path", { d: "M4.07275 3.83246C4.07275 3.53211 4.19207 3.24406 4.40444 3.03169C4.61682 2.81931 4.90487 2.7 5.20521 2.7H18.7947C19.0951 2.7 19.3831 2.81931 19.5955 3.03169C19.8079 3.24406 19.9272 3.53211 19.9272 3.83246V21.3L15.9636 18.4689L12 21.3L8.03636 18.4689L4.07275 21.3V3.83246Z", fill: fill, stroke: stroke, strokeLinecap: "round", strokeLinejoin: "round" }), (0, jsx_runtime_1.jsx)("path", { d: "M8.60254 12.8921H15.3973M8.60254 8.3623H15.3973", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })] })));
}
exports.default = BillIcon;
exports.BillIconBase = styled_components_1.default.svg(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n align-items: center;\n transition: transform 0.4s;\n transform: scale(", ");\n"], ["\n display: flex;\n justify-content: center;\n align-items: center;\n transition: transform 0.4s;\n transform: scale(", ");\n"])), function (props) { return (0, css_helpers_1.getScale)(props.size); });
var templateObject_1;
//# sourceMappingURL=BillIcon.js.map