@pluralsight/ps-design-system-icon
Version:
Design System component for icon ui
37 lines • 2.17 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 AnalyticsIcon = 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": "analytics icon", viewBox: "0 0 24 24", role: 'img' }, (ariaLabel && { 'aria-label': ariaLabel })),
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.999 8.724A1.976 1.976 0 0 1 5 9a2 2 0 1 1 1.999-2.008l4.002 2.286C11.296 9.106 11.635 9 12 9c.178 0 .347.031.511.074l4.563-4.562A1.997 1.997 0 0 1 17 4a2 2 0 1 1 2 2c-.178 0-.348-.029-.512-.073l-4.562 4.562c.043.165.074.333.074.511a2 2 0 0 1-3.999.01L5.999 8.724zM22 11v10h2v2H0v-2h2v-8c0-.551.448-1 1-1h4c.552 0 1 .449 1 1v8h1v-5c0-.551.448-1 1-1h4c.552 0 1 .449 1 1v5h1V11c0-.551.448-1 1-1h4c.552 0 1 .449 1 1zM4 21h2v-7H4v7zm9 0v-4h-2v4h2zm5 0h2v-9h-2v9z" }))));
});
AnalyticsIcon.displayName = "AnalyticsIcon";
AnalyticsIcon.colors = Icon.colors;
AnalyticsIcon.sizes = Icon.sizes;
export { AnalyticsIcon };
//# sourceMappingURL=Analytics.dist.js.map