42 lines
2.7 KiB
TypeScript
42 lines
2.7 KiB
TypeScript
/* Metro module 10101; source: modules/collectibles/native/OrbBadgePreview.tsx; dependencies: [31, 27, 33, 4501, 7594, 8489, 10066, 1244, 2] */
|
|
import UserProfilePreview from '../../user_profile/native/UserProfilePreview.tsx'; /* Metro dependency 8489 */
|
|
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ReactNativeModule from '../../../by-id/module-00027-ReactNative.js'; /* Metro dependency 27 */
|
|
import * as ReactModule from '../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
|
|
import * as JsxRuntimeModule from '../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
|
|
import * as IndexNativeModule from '../../../intl/index.native.tsx'; /* Metro dependency 1244 */
|
|
import * as CreateStylesModule from '../../../design/components/Styles/native/createStyles.tsx'; /* Metro dependency 4501 */
|
|
import * as UseCurrentUserModule from '../hooks/useCurrentUser.tsx'; /* Metro dependency 7594 */
|
|
import * as CollectiblesUtilsModule from './CollectiblesUtils.tsx'; /* Metro dependency 10066 */
|
|
|
|
function _fun78873(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#78873, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10287:6, offset: 0x01e396c8, size: 205 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
ReactModule;
|
|
const env0_5 = (CreateStylesModule).createStyles({container: {'flex': 1,
|
|
'justifyContent': 'center', 'alignItems': 'center'}});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/collectibles/native/OrbBadgePreview.tsx');
|
|
exports.OrbBadgePreview = OrbBadgePreview;
|
|
function OrbBadgePreview() { // fn#78874, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10287:321, offset: 0x01e39795, size: 197 bytes, params: 1, frame: 20
|
|
const styles = useStyles();
|
|
const value2 = (UseCurrentUserModule).useCurrentUser();
|
|
const items2 = [(CollectiblesUtilsModule).createOrbProfileBadge()];
|
|
const intl = (IndexNativeModule).intl;
|
|
return (
|
|
<View style={styles.container}>
|
|
<UserProfilePreview
|
|
compact
|
|
user={value2}
|
|
additionalBadges={items2}
|
|
accessibilityLabel={intl.string((IndexNativeModule).t.bxcI6Y)}
|
|
/>
|
|
</View>
|
|
);
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun78873, 10101, [31, 27, 33, 4501, 7594, 8489, 10066, 1244,
|
|
2]) /* metro module 10101, dependencies: [31, 27, 33, 4501, 7594, 8489, 10066, 1244, 2] */;
|