@pluralsight/ps-design-system-icon
Version:
Design System component for icon ui
37 lines • 2.1 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 ReportIcon = 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": "report icon", viewBox: "0 0 24 24", role: 'img' }, (ariaLabel && { 'aria-label': ariaLabel })),
React.createElement("path", { d: "M22 11c0-.551-.448-1-1-1h-4c-.552 0-1 .449-1 1v9h-1v-4c0-.551-.448-1-1-1h-4c-.552 0-1 .449-1 1v4H8v-7c0-.551-.448-1-1-1H3c-.552 0-1 .449-1 1v7H0v2h24v-2h-2v-9zM4 20v-6h2v6H4zm7 0v-3h2v3h-2zm7 0v-8h2v8h-2zM5 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.724A1.976 1.976 0 0 1 5 9z" }))));
});
ReportIcon.displayName = "ReportIcon";
ReportIcon.colors = Icon.colors;
ReportIcon.sizes = Icon.sizes;
export { ReportIcon };
//# sourceMappingURL=Report.dist.js.map