UNPKG

@pluralsight/ps-design-system-icon

Version:
62 lines 3.87 kB
"use strict"; // 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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })); var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { Object.defineProperty(o, "default", { enumerable: true, value: v }); }) : function(o, v) { o["default"] = v; }); var __importStar = (this && this.__importStar) || function (mod) { if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); __setModuleDefault(result, mod); return result; }; 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; }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.GearIcon = void 0; var react_1 = __importStar(require("react")); var __1 = __importDefault(require("..")); var GearIcon = react_1.forwardRef(function (props, ref) { var ariaLabel = props["aria-label"], rest = __rest(props, ['aria-label']); return (react_1.default.createElement(__1.default, __assign({}, rest, { ref: ref }), react_1.default.createElement("svg", __assign({ "aria-label": "gear icon", viewBox: "0 0 24 24", role: 'img' }, (ariaLabel && { 'aria-label': ariaLabel })), react_1.default.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" })))); }); exports.GearIcon = GearIcon; GearIcon.displayName = "GearIcon"; GearIcon.colors = __1.default.colors; GearIcon.sizes = __1.default.sizes; //# sourceMappingURL=Gear.dist.js.map