34 lines
1.2 KiB
JavaScript
34 lines
1.2 KiB
JavaScript
// Module ID: 252
|
|
// Function ID: 253
|
|
// Name: children
|
|
// Dependencies: [19, 21, 253, 108, 254]
|
|
// Exports: default
|
|
|
|
// Module 252 (children)
|
|
import noopAll from "noop" /* 19 */;
|
|
import ViewDefault from "View" /* 108 */;
|
|
import RootTagContext from "RootTagContext" /* 253 */;
|
|
import get_hairlineWidthDefault from "get hairlineWidth" /* 254 */;
|
|
import { jsx } from "jsxProd" /* 21 */;
|
|
|
|
require = arg1;
|
|
noopAll;
|
|
let closure_4 = get_hairlineWidthDefault.create({ root: { flex: 1 } });
|
|
|
|
export default function _default(rootTag) {
|
|
({ children, WrapperComponent, rootViewStyle } = rootTag);
|
|
let tmp2 = children;
|
|
if (null != WrapperComponent) {
|
|
let obj = { initialProps: null, children: null };
|
|
obj[0] = tmp;
|
|
obj[1] = children;
|
|
tmp2 = <WrapperComponent initialProps={null}>{null}</WrapperComponent>;
|
|
}
|
|
obj = { value: RootTagContext.createRootTag(rootTag.rootTag), children: null };
|
|
const obj3 = RootTagContext;
|
|
if (!rootViewStyle) {
|
|
rootViewStyle = root.root;
|
|
}
|
|
obj[1] = jsx(ViewDefault, { style: rootViewStyle, pointerEvents: "box-none", children: tmp2 });
|
|
return jsx(RootTagContext.RootTagContext.Provider, { value: RootTagContext.createRootTag(rootTag.rootTag), children: null });
|
|
};
|