-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAddUser.js
43 lines (43 loc) · 4.04 KB
/
AddUser.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
"use strict";
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;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = __importDefault(require("react"));
var AddUser = function (_a, ref) {
var _b = _a.size, size = _b === void 0 ? 'L' : _b, _c = _a.type, type = _c === void 0 ? 'solid' : _c, props = __rest(_a, ["size", "type"]);
if (size === 'L' && type === 'line') {
return (react_1.default.createElement("svg", __assign({ width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { ref: ref }),
react_1.default.createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M22 11a5 5 0 11-10 0 5 5 0 0110 0zm-2 0a3 3 0 11-6 0 3 3 0 016 0zm-3 7c6.075 0 11 2.149 11 4.8V26H6v-3.2c0-2.651 4.925-4.8 11-4.8zm-9 4.8c0-.013.001-.048.034-.118.036-.077.113-.2.267-.358.318-.329.876-.716 1.72-1.085C11.706 20.504 14.172 20 17 20c2.829 0 5.295.504 6.978 1.239.845.369 1.403.756 1.721 1.085a1.4 1.4 0 01.267.358c.033.07.034.105.034.118V24H8v-1.2z", fill: "currentColor" }),
react_1.default.createElement("path", { d: "M6 12h2v2h2v2H8a2 2 0 01-2 2v-2H4v-2h2v-2z", fill: "currentColor" })));
}
if (size === 'L' && type === 'solid') {
return (react_1.default.createElement("svg", __assign({ width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { ref: ref }),
react_1.default.createElement("path", { d: "M22 11a5 5 0 11-10 0 5 5 0 0110 0zm-5 7c-6.075 0-11 2.149-11 4.8V26h22v-3.2c0-2.651-4.925-4.8-11-4.8zM6 12h2v2h2v2H8a2 2 0 01-2 2v-2H4v-2h2v-2z", fill: "currentColor" })));
}
throw new Error('invalid props');
};
exports.default = react_1.default.memo(react_1.default.forwardRef(AddUser));
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQWRkVXNlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9BZGRVc2VyLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFDTSxnREFBMEI7QUFFMUIsSUFBTSxPQUFPLEdBTVQsVUFBQyxFQUlKLEVBQUUsR0FBRztJQUhKLElBQUEsWUFBVSxFQUFWLCtCQUFVLEVBQ1YsWUFBYyxFQUFkLG1DQUFjLEVBQ2Qsb0NBQVE7SUFHQSxJQUFJLElBQUksS0FBSyxHQUFHLElBQUksSUFBSSxLQUFLLE1BQU0sRUFBRTtRQUNuQyxPQUFPLENBQUMsZ0RBQUssS0FBSyxFQUFDLElBQUksRUFBQyxNQUFNLEVBQUMsSUFBSSxFQUFDLE9BQU8sRUFBQyxXQUFXLEVBQUMsSUFBSSxFQUFDLE1BQU0sRUFBQyxLQUFLLEV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