35 lines
2.0 KiB
React
35 lines
2.0 KiB
React
/* Metro module 251; source: unknown; dependencies: [31, 33, 252, 112, 253] */
|
|
import Module00253 from './module-00253.js'; /* Metro dependency 253 */
|
|
import * as ReactModule from './module-00031-React.js'; /* Metro dependency 31 */
|
|
import * as JsxRuntimeModule from './module-00033-JsxRuntime.js'; /* Metro dependency 33 */
|
|
|
|
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});
|
|
ReactModule;
|
|
const env0_4 = (Module00253).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>
|
|
);
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun3310, 251, [31, 33, 252, 112, 253]) /* metro module 251, dependencies: [31, 33, 252, 112, 253] */;
|