Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,51 @@
|
||||
/* Metro module 9020; source: components_native/common/ViewEmptyState.tsx; dependencies: [31, 27, 661, 33, 4501, 6597, 697, 1305, 2] */
|
||||
function _fun70188(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#70188, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9205:6, offset: 0x01cf1e4f, size: 417 bytes, params: 8, frame: 25
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
importAll(31) /* metro dependency 31 */;
|
||||
let value = require(27) /* metro dependency 27 */;
|
||||
const env0_2 = value.View;
|
||||
const env0_3 = value.Image;
|
||||
const Fonts = (require(661) /* metro dependency 661: Constants */).Fonts;
|
||||
value = require(33) /* metro dependency 33 */;
|
||||
const env0_4 = value.jsx;
|
||||
const env0_5 = value.jsxs;
|
||||
value = require(4501) /* metro dependency 4501: createStyles */;
|
||||
const createStyles = value.createStyles;
|
||||
const object = {};
|
||||
const textStyles = importDefault(6597) /* metro dependency 6597: TextStyles */;
|
||||
const DISPLAY_SEMIBOLD = Fonts.DISPLAY_SEMIBOLD;
|
||||
const MOBILE_TEXT_HEADING_PRIMARY = (importDefault(697) /* metro dependency 697: native */).colors.MOBILE_TEXT_HEADING_PRIMARY;
|
||||
copyDataProperties(object, textStyles(DISPLAY_SEMIBOLD, MOBILE_TEXT_HEADING_PRIMARY, 18), undefined);
|
||||
object['textAlign'] = 'center';
|
||||
object['marginTop'] = 32;
|
||||
object['opacity'] = 0.8;
|
||||
const PRIMARY_MEDIUM = Fonts.PRIMARY_MEDIUM;
|
||||
const env0_6 = Reflect.apply(createStyles, value, [{emptyContainer: {'flex': 1, 'justifyContent': 'center',
|
||||
'alignItems': 'center', 'marginHorizontal': 36}, emptyImage: {'width': 170, 'height': 130},
|
||||
fixOpticalIllusion: {'marginTop': -50, 'alignItems': 'center'}, emptyLabel: object,
|
||||
emptyText: {'fontFamily': null, 'fontSize': 13, 'marginTop': 8, 'marginHorizontal': 10, 'opacity': 0.6,
|
||||
'fontWeight': '400', fontFamily: PRIMARY_MEDIUM}}]);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('components_native/common/ViewEmptyState.tsx');
|
||||
exports.default = ViewEmptyState;
|
||||
}
|
||||
|
||||
function ViewEmptyState({source, label, text, style}) { // fn#70189, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9205:630, offset: 0x01cf1ff0, size: 308 bytes, params: 2, frame: 26
|
||||
const LegacyText = (require(1305) /* metro dependency 1305: native */).LegacyText;
|
||||
const styles = useStyles();
|
||||
return (
|
||||
<View style={[styles.emptyContainer, style]}>
|
||||
<View style={styles.fixOpticalIllusion}>
|
||||
<Image
|
||||
resizeMode="contain"
|
||||
source={source}
|
||||
style={styles.emptyImage}
|
||||
/>
|
||||
{label != null ? <LegacyText style={styles.emptyLabel}>{label.toUpperCase()}</LegacyText> : null}
|
||||
{text != null ? <LegacyText style={[styles.emptyLabel, styles.emptyText]}>{text}</LegacyText> : null}
|
||||
</View>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user