@pluralsight/ps-design-system-icon
Version:
Design System component for icon ui
37 lines • 2.51 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 PeopleIcon = 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": "people icon", viewBox: "0 0 24 24", role: 'img' }, (ariaLabel && { 'aria-label': ariaLabel })),
React.createElement("path", { d: "M20.371 19.059A3.483 3.483 0 0 0 21.5 16.5c0-1.93-1.57-3.5-3.5-3.5s-3.5 1.57-3.5 3.5c0 1.013.439 1.918 1.129 2.559C14.151 19.593 13 20.62 13 22h2c0-.598 1.413-1.357 3-1.357s3 .76 3 1.357h2c0-1.38-1.151-2.407-2.629-2.941zM18 15c.827 0 1.5.673 1.5 1.5S18.827 18 18 18s-1.5-.673-1.5-1.5.673-1.5 1.5-1.5zm-9.629 4.059C9.849 19.593 11 20.62 11 22H9c0-.598-1.413-1.357-3-1.357S3 21.402 3 22H1c0-1.38 1.151-2.407 2.629-2.941A3.483 3.483 0 0 1 2.5 16.5C2.5 14.57 4.07 13 6 13s3.5 1.57 3.5 3.5a3.483 3.483 0 0 1-1.129 2.559zM6 15c-.827 0-1.5.673-1.5 1.5S5.173 18 6 18s1.5-.673 1.5-1.5S6.827 15 6 15zm9-4c0-.598-1.413-1.357-3-1.357S9 10.402 9 11H7c0-1.38 1.151-2.407 2.629-2.941A3.481 3.481 0 0 1 8.5 5.5C8.5 3.57 10.07 2 12 2s3.5 1.57 3.5 3.5a3.481 3.481 0 0 1-1.129 2.559C15.849 8.593 17 9.62 17 11h-2zm-3-7c-.827 0-1.5.673-1.5 1.5S11.173 7 12 7s1.5-.673 1.5-1.5S12.827 4 12 4z" }))));
});
PeopleIcon.displayName = "PeopleIcon";
PeopleIcon.colors = Icon.colors;
PeopleIcon.sizes = Icon.sizes;
export { PeopleIcon };
//# sourceMappingURL=People.dist.js.map