Files
discord-decomp/_bundle/_default.jsx
T
2026-11-01 12:12:55 +02:00

25 lines
776 B
React

// Metro module 252 (f253).
import { RootTagContext, createRootTag } from "./Module253";
import View from "./View";
import Module254 from "./Module254";
const styles = Module254.create({
root: {
flex: 1
}
});
export default (a0) => {
const { children, initialProps, rootTag, WrapperComponent } = a0;
let rootViewStyle = a0.rootViewStyle;
const r6 = WrapperComponent != null ? <WrapperComponent initialProps={initialProps}>{children}</WrapperComponent> : children;
const Provider = RootTagContext.Provider;
const r24 = {
value: createRootTag(rootTag),
children: null
};
if (!rootViewStyle) {
rootViewStyle = styles.root;
}
r24.children = <View style={rootViewStyle} pointerEvents="box-none">{r6}</View>;
return <Provider {...r24} />;
};