@pluralsight/ps-design-system-icon
Version:
Design System component for icon ui
37 lines • 2.69 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 GearIcon = 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": "gear icon", viewBox: "0 0 24 24", role: 'img' }, (ariaLabel && { 'aria-label': ariaLabel })),
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4 12c0-.377.026-.748.077-1.111L2.274 9.848a.5.5 0 0 1-.183-.683l2.5-4.33a.5.5 0 0 1 .683-.183l1.804 1.041A7.988 7.988 0 0 1 9 4.581V2.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v2.082a7.99 7.99 0 0 1 1.922 1.112l1.805-1.042a.5.5 0 0 1 .683.183l2.5 4.33a.5.5 0 0 1-.183.683l-1.804 1.042a8.063 8.063 0 0 1 0 2.22l1.804 1.042a.5.5 0 0 1 .183.683l-2.5 4.33a.5.5 0 0 1-.683.183l-1.805-1.042A7.992 7.992 0 0 1 15 19.418V21.5a.5.5 0 0 1-.5.5h-5a.5.5 0 0 1-.5-.5v-2.081a7.985 7.985 0 0 1-1.923-1.112l-1.804 1.041a.5.5 0 0 1-.683-.183l-2.5-4.33a.5.5 0 0 1 .183-.683l1.803-1.04A8.077 8.077 0 0 1 4 12zm9-8h-2v2.083a5.994 5.994 0 0 0-3.623 2.092L5.573 7.133l-1 1.732 1.803 1.04A5.986 5.986 0 0 0 6 12c0 .736.132 1.44.375 2.092l-1.803 1.041 1 1.732 1.804-1.041A5.993 5.993 0 0 0 11 17.917V20h2v-2.083a5.994 5.994 0 0 0 3.625-2.094l1.805 1.042 1-1.732-1.805-1.042A5.987 5.987 0 0 0 18 12a5.99 5.99 0 0 0-.375-2.093l1.804-1.042-1-1.732-1.806 1.042A5.994 5.994 0 0 0 13 6.083V4zm-5 8a4 4 0 1 0 8 0 4 4 0 0 0-8 0zm4 2a2 2 0 1 0 0-4 2 2 0 0 0 0 4z" }))));
});
GearIcon.displayName = "GearIcon";
GearIcon.colors = Icon.colors;
GearIcon.sizes = Icon.sizes;
export { GearIcon };
//# sourceMappingURL=Gear.dist.js.map