UNPKG

@antv/f2

Version:

Charts for mobile visualization.

16 lines 423 B
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; var _excluded = ["ref"]; // 实现jsx-automatic 入口 export function jsx(type, config, key) { var _ref = config || {}, ref = _ref.ref, props = _objectWithoutProperties(_ref, _excluded); return { key: key, ref: ref, type: type, props: props, // 存储一些过程中的cache值 _cache: {} }; }