@pluralsight/ps-design-system-icon
Version:
Design System component for icon ui
62 lines • 3.41 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 __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.OrgIcon = void 0;
var react_1 = __importStar(require("react"));
var __1 = __importDefault(require(".."));
var OrgIcon = 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": "org icon", viewBox: "0 0 24 24", role: 'img' }, (ariaLabel && { 'aria-label': ariaLabel })),
react_1.default.createElement("path", { d: "M21 16.159v-2.184c0-1.654-1.346-3-3-3h-5v-3h6a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h6v3H6c-1.654 0-3 1.346-3 3v2.184a2.996 2.996 0 0 0-2 2.816c0 1.654 1.346 3 3 3s3-1.346 3-3a2.996 2.996 0 0 0-2-2.816v-2.184c0-.551.449-1 1-1h5v3.184a2.996 2.996 0 0 0-2 2.816c0 1.654 1.346 3 3 3s3-1.346 3-3a2.996 2.996 0 0 0-2-2.816v-3.184h5c.552 0 1 .449 1 1v2.184a2.996 2.996 0 0 0-2 2.816c0 1.654 1.346 3 3 3s3-1.346 3-3a2.995 2.995 0 0 0-2-2.816zM6 3.975h12v2H6v-2zm-2 16a1.001 1.001 0 0 1 0-2 1.001 1.001 0 0 1 0 2zm8 0a1.001 1.001 0 0 1 0-2 1.001 1.001 0 0 1 0 2zm8 0a1 1 0 1 1 0-2 1 1 0 0 1 0 2z" }))));
});
exports.OrgIcon = OrgIcon;
OrgIcon.displayName = "OrgIcon";
OrgIcon.colors = __1.default.colors;
OrgIcon.sizes = __1.default.sizes;
//# sourceMappingURL=Org.dist.js.map