@antv/f-engine
Version:
FEngine 是 AntV F 系列可视化引擎的底层渲染引擎,为移动端提供了一套完整的渲染、事件、动画能力,能方便的构建可视化 UI
19 lines (18 loc) • 360 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.jsx = jsx;
var _tslib = require("tslib");
// 实现jsx-automatic 入口
function jsx(type, config, key) {
var _a = config || {},
ref = _a.ref,
props = (0, _tslib.__rest)(_a, ["ref"]);
return {
key: key,
ref: ref,
type: type,
props: props
};
}