Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,30 @@
|
||||
/* Metro module 6258; source: design/components/Modal/native/ModalScreen.native.tsx; dependencies: [31, 27, 33, 4501, 697, 5463, 2] */
|
||||
function _fun49424(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#49424, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6436:6, offset: 0x011f8dbc, size: 226 bytes, params: 8, frame: 21
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
importAll(31) /* metro dependency 31 */;
|
||||
const env0_2 = (require(27) /* metro dependency 27 */).View;
|
||||
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
|
||||
const createStylesModule = require(4501) /* metro dependency 4501: createStyles */;
|
||||
const createStyles = createStylesModule.createStyles;
|
||||
const BACKGROUND_BASE_LOW = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOW;
|
||||
const env0_4 = Reflect.apply(createStyles, createStylesModule, [{container: {'flex': 1, 'flexDirection': 'column',
|
||||
backgroundColor: BACKGROUND_BASE_LOW}}]);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Modal/native/ModalScreen.native.tsx');
|
||||
exports.ModalScreen = ModalScreen;
|
||||
}
|
||||
|
||||
function ModalScreen({backgroundColor, children}) { // fn#49425, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6436:353, offset: 0x011f8e9e, size: 151 bytes, params: 2, frame: 20
|
||||
const styles = useStyles();
|
||||
const insets = (importDefault(5463) /* metro dependency 5463: useSafeAreaInsetsKeyboardAwareNative */)().insets;
|
||||
backgroundColor = backgroundColor ?? styles.container.backgroundColor;
|
||||
return (
|
||||
<View
|
||||
style={[styles.container, {backgroundColor: backgroundColor, paddingLeft: insets.left,
|
||||
paddingRight: insets.right, paddingBottom: insets.bottom}]}
|
||||
>
|
||||
{children}
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user