23 lines
1.6 KiB
React
23 lines
1.6 KiB
React
/* Metro module 251; source: unknown; dependencies: [31, 33, 252, 112, 253] */
|
|
function _fun3310(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#3310, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:282:6, offset: 0x00c9514c, size: 147 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
importAll(31) /* metro dependency 31 */;
|
|
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
|
|
const env0_4 = (importDefault(253) /* metro dependency 253 */).create({root: {flex: 1}});
|
|
exports.default = AppContainer;
|
|
}
|
|
|
|
function AppContainer({children, fabric, initialProps, rootTag, WrapperComponent, rootViewStyle}) { // fn#3311, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:282:154, offset: 0x00c951df, size: 219 bytes, params: 2, frame: 20
|
|
const r6 = WrapperComponent == null ? children : <WrapperComponent initialProps={initialProps} fabric={fabric === true}>{children}</WrapperComponent>;
|
|
const RootTagContext = (require(252) /* metro dependency 252 */).RootTagContext;
|
|
const Provider = RootTagContext.Provider;
|
|
return (
|
|
<Provider value={(require(252) /* metro dependency 252 */).createRootTag(rootTag)}>
|
|
{((Component) => <Component style={rootViewStyle || env0_4.root} pointerEvents="box-none">{r6}</Component>)(importDefault(112) /* metro dependency 112 */)}
|
|
</Provider>
|
|
);
|
|
}
|
|
|