45 lines
2.8 KiB
TypeScript
45 lines
2.8 KiB
TypeScript
/* Metro module 15794; source: modules/avatar/native/components/RedesignSkipAvatarUploadAlertModal.tsx; dependencies: [31, 33, 4500, 1244, 4500, 2] */
|
|
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
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 AlertModalNativeModule from '../../../../design/components/AlertModal/native/AlertModal.native.tsx'; /* Metro dependency 4500 */
|
|
|
|
function _fun121351(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#121351, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16002:6, offset: 0x025451a6, size: 140 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
ReactModule;
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/avatar/native/components/RedesignSkipAvatarUploadAlertModal.tsx');
|
|
exports.default = RedesignSkipAvatarUploadAlertModal;
|
|
function RedesignSkipAvatarUploadAlertModal({onConfirm}) { // fn#121352, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16002:246, offset: 0x02545232, size: 370 bytes, params: 2, frame: 26
|
|
const AlertModal = (AlertModalNativeModule).AlertModal;
|
|
const object = {};
|
|
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
const string = intl.string;
|
|
const DnKHuV = (require(1244) /* metro dependency 1244: indexNative */).t.DnKHuV;
|
|
object.title = Reflect.apply(string, intl, [DnKHuV]);
|
|
object.content = intl.string((require(1244) /* metro dependency 1244: indexNative */).t['1EPySE']);
|
|
const AlertActions = (AlertModalNativeModule).AlertActions;
|
|
const AlertActionButton = (AlertModalNativeModule).AlertActionButton;
|
|
object.actions = (
|
|
<AlertActions>
|
|
<AlertActionButton
|
|
onPress={onConfirm}
|
|
text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t.nhJ8OC)}
|
|
key="confirm"
|
|
/>
|
|
<AlertActionButton
|
|
variant="secondary"
|
|
text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t['7eZ3ji'])}
|
|
key="add-profile-picture"
|
|
/>
|
|
</AlertActions>
|
|
);
|
|
return <AlertModal {...object} />;
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun121351, 15794, [31, 33, 4500, 1244, 4500,
|
|
2]) /* metro module 15794, dependencies: [31, 33, 4500, 1244, 4500, 2] */;
|