35 lines
2.2 KiB
React
35 lines
2.2 KiB
React
/* Metro module 1846; source: unknown; dependencies: [31, 27, 33, 1600, 1804, 1815] */
|
|
import React from './module-00031-React.js'; /* Metro dependency 31 */
|
|
import * as ReactNativeModule from './module-00027-ReactNative.js'; /* Metro dependency 27 */
|
|
import * as JsxRuntimeModule from './module-00033-JsxRuntime.js'; /* Metro dependency 33 */
|
|
import * as Module01600Module from './module-01600.js'; /* Metro dependency 1600 */
|
|
import * as Module01804Module from './module-01804.js'; /* Metro dependency 1804 */
|
|
import * as Module01815Module from './module-01815.js'; /* Metro dependency 1815 */
|
|
|
|
function _fun19987(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#19987, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1973:6, offset: 0x00ebbb9a, size: 152 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
React;
|
|
const Animated = (ReactNativeModule).Animated;
|
|
const createAnimatedComponent = Animated.createAnimatedComponent;
|
|
const KeyboardBackgroundView = (Module01600Module).KeyboardBackgroundView;
|
|
const env0_3 = Reflect.apply(createAnimatedComponent, Animated, [KeyboardBackgroundView]);
|
|
exports.default = KeyboardExtender;
|
|
function KeyboardExtender({children, enabled}) { // fn#19988, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1973:199, offset: 0x00ebbc32, size: 130 bytes, params: 2, frame: 18
|
|
const r5 = enabled === undefined || enabled;
|
|
const useKeyboardAnimation = Module01804Module.useKeyboardAnimation;
|
|
const progress = Reflect.apply(useKeyboardAnimation, Module01804Module, []).progress;
|
|
const KeyboardStickyView = (Module01815Module).KeyboardStickyView;
|
|
return (
|
|
<KeyboardStickyView enabled={r5}>
|
|
{((Component) => <Component style={{opacity: progress}}>{children}</Component>)(env0_3)}
|
|
</KeyboardStickyView>
|
|
);
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun19987, 1846, [31, 27, 33, 1600, 1804,
|
|
1815]) /* metro module 1846, dependencies: [31, 27, 33, 1600, 1804, 1815] */;
|