antd-omi-icons
Version:
Ant Design Icons for Omi
57 lines (56 loc) • 3.35 kB
JavaScript
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
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 __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { Component as OmiComponent, h, tag } from 'omi';
import { rmIEFP } from 'omi-tools';
import '../components/AntdIcon';
var FolderOpenTwoToneSvg = { "name": "folder-open", "theme": "twotone", "icon": function render(primaryColor, secondaryColor) { return { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M159 768h612.3l103.4-256H262.3z", "fill": secondaryColor } }, { "tag": "path", "attrs": { "d": "M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z", "fill": primaryColor } }] }; } };
var FolderOpenTwoTone = /** @class */ (function (_super) {
__extends(FolderOpenTwoTone, _super);
function FolderOpenTwoTone() {
return _super !== null && _super.apply(this, arguments) || this;
}
FolderOpenTwoTone.prototype.render = function (props) {
return h("o-antd-icon", __assign({}, rmIEFP(props), { icon: FolderOpenTwoToneSvg }));
};
;
FolderOpenTwoTone.displayName = 'FolderOpenTwoTone';
FolderOpenTwoTone.tagName = 'o-folder-open-two-tone';
FolderOpenTwoTone.inheritAttrs = false;
FolderOpenTwoTone = __decorate([
tag('o-folder-open-two-tone')
], FolderOpenTwoTone);
return FolderOpenTwoTone;
}(OmiComponent));
export default FolderOpenTwoTone;