fluxel
Version:
An ultra-lightweight, high-performance library for efficient DOM building and dynamic web UIs
24 lines (23 loc) • 655 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _default;
}
});
const _index = /*#__PURE__*/ _interop_require_default(require("./index.js"));
function _interop_require_default(obj) {
return obj && obj.__esModule ? obj : {
default: obj
};
}
const Fragment = _index.default.createComponent((props)=>{
const options = Object.assign({}, props);
const children = options.children;
delete options.children;
return _index.default.fragment(children, options);
});
const _default = Fragment;