Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,33 @@
|
||||
/* Metro module 6806; source: design/components/Sheet/native/ActionSheetCloseButton.native.tsx; dependencies: [31, 33, 5278, 1244, 5312, 697, 2] */
|
||||
function _fun53552(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#53552, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6984:6, offset: 0x0134ead8, size: 202 bytes, params: 8, frame: 20
|
||||
const env0_0 = require;
|
||||
let Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
importAll(31) /* metro dependency 31 */;
|
||||
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
|
||||
Object = global.Object;
|
||||
const env0_4 = Object.freeze({radius: 12});
|
||||
Object = global.Object;
|
||||
const env0_5 = Object.freeze({'top': 8, 'right': 8, 'bottom': 8, 'left': 8});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Sheet/native/ActionSheetCloseButton.native.tsx');
|
||||
exports.ActionSheetCloseButton = ActionSheetCloseButton;
|
||||
}
|
||||
|
||||
function ActionSheetCloseButton({onPress, variant}) { // fn#53553, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6984:319, offset: 0x0134eba2, size: 245 bytes, params: 2, frame: 21
|
||||
const PressableOpacity = (require(5278) /* metro dependency 5278: Pressables */).PressableOpacity;
|
||||
const object2 = {accessibilityRole: 'button'};
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
object2.accessibilityLabel = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.cpT0Cq);
|
||||
object2.hitSlop = env0_5;
|
||||
object2.androidRippleConfig = env0_4;
|
||||
object2.onPress = onPress;
|
||||
const XSmallIcon = (require(5312) /* metro dependency 5312: XSmallIcon */).XSmallIcon;
|
||||
return (
|
||||
<PressableOpacity {...object2}>
|
||||
<XSmallIcon
|
||||
color={variant === 'overlay' ? (importDefault(697) /* metro dependency 697: native */).colors.WHITE : (importDefault(697) /* metro dependency 697: native */).colors.ICON_STRONG}
|
||||
/>
|
||||
</PressableOpacity>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user