Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
29 lines
1.1 KiB
JavaScript
29 lines
1.1 KiB
JavaScript
// Module ID: 252
|
|
// Function ID: 253
|
|
// Dependencies: [19, 21, 253, 108, 254]
|
|
// Exports: default
|
|
|
|
// Module 252
|
|
import ViewDefault from "View" /* 108 */;
|
|
import RootTagContext from "RootTagContext" /* 253 */;
|
|
import noop from "module_19" /* 19 */;
|
|
import get_hairlineWidth from "get hairlineWidth" /* 254 */;
|
|
|
|
require = fn;
|
|
const jsx = fn(21).jsx;
|
|
const root = get_hairlineWidth.create({ root: { flex: 1 } });
|
|
|
|
export default function _default(rootTag) {
|
|
({ children, WrapperComponent, rootViewStyle } = rootTag);
|
|
let tmp2 = children;
|
|
if (null != WrapperComponent) {
|
|
const obj = { initialProps: tmp, children };
|
|
tmp2 = <WrapperComponent initialProps={tmp}>{children}</WrapperComponent>;
|
|
}
|
|
const obj2 = { value: RootTagContext.createRootTag(rootTag.rootTag), children: null };
|
|
if (!rootViewStyle) {
|
|
rootViewStyle = root.root;
|
|
}
|
|
obj2.children = jsx(ViewDefault, { style: rootViewStyle, pointerEvents: "box-none", children: tmp2 });
|
|
return jsx(RootTagContext.RootTagContext.Provider, { value: RootTagContext.createRootTag(rootTag.rootTag), children: null });
|
|
};
|