@pluralsight/ps-design-system-icon
Version:
Design System component for icon ui
37 lines • 2.49 kB
JavaScript
// This file is generated by running the "icons" bin script.
// Manual changes might be lost - proceed with caution!
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;
};
import React, { forwardRef } from 'react';
import Icon from '..';
var ServiceBoxIcon = forwardRef(function (props, ref) {
var ariaLabel = props["aria-label"], rest = __rest(props, ['aria-label']);
return (React.createElement(Icon, __assign({}, rest, { ref: ref }),
React.createElement("svg", __assign({ "aria-label": "service box icon", viewBox: "0 0 24 24", role: 'img' }, (ariaLabel && { 'aria-label': ariaLabel })),
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.82 18.31c2.36 0 4.28-1.91 4.28-4.27 0-2.36-1.92-4.28-4.28-4.28-1.63 0-3.05.92-3.77 2.27a4.274 4.274 0 0 0-3.77-2.27c-.96 0-1.85.32-2.57.86V7a.85.85 0 0 0-.85-.82c-.47 0-.86.38-.86.82v7.11a4.275 4.275 0 0 0 8.05 1.93 4.274 4.274 0 0 0 3.77 2.27zm0-6.84a2.57 2.57 0 0 1 2.57 2.57 2.565 2.565 0 1 1-2.57-2.57zm-4.98 2.57c0-1.42-1.15-2.57-2.56-2.57a2.57 2.57 0 0 0-2.57 2.57 2.565 2.565 0 0 0 5.13 0zM23 17.47a.9.9 0 0 0-.16-.51l-2.18-2.92 2.18-2.93a.77.77 0 0 0 .16-.48c0-.27-.11-.53-.34-.7-.37-.28-.9-.21-1.16.16l-1.91 2.52-1.89-2.52a.866.866 0 0 0-1.2-.16c-.21.17-.33.42-.33.68 0 .18.05.35.16.5l2.17 2.93-2.17 2.92c-.1.15-.16.33-.16.5 0 .26.12.54.33.69.17.11.35.17.53.17.25 0 .5-.11.67-.32l1.89-2.53L21.5 18c.15.21.4.32.65.32.18 0 .35-.06.51-.17a.83.83 0 0 0 .34-.68z" }))));
});
ServiceBoxIcon.displayName = "ServiceBoxIcon";
ServiceBoxIcon.colors = Icon.colors;
ServiceBoxIcon.sizes = Icon.sizes;
export { ServiceBoxIcon };
//# sourceMappingURL=ServiceBox.dist.js.map