decord/source/1818_KeyboardExtender.js

26 lines
852 B
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 1818
2026-07-25 08:10:48 +00:00
// Function ID: 19991
2026-07-20 16:05:17 +00:00
// Name: KeyboardExtender
2026-07-23 10:11:24 +00:00
// Dependencies: [31, 27, 33, 1572, 1776, 1787]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 1818 (KeyboardExtender)
2026-07-23 10:11:24 +00:00
import "result";
import { Animated } from "get ActivityIndicator";
import { jsx } from "jsxProd";
const require = arg1;
let closure_3 = Animated.createAnimatedComponent(require("nativeEventEmitter").KeyboardBackgroundView);
2026-07-20 16:05:17 +00:00
export default function KeyboardExtender(children) {
const enabled = children.enabled;
let tmp = undefined === enabled;
if (!tmp) {
tmp = enabled;
}
2026-07-23 10:11:24 +00:00
let obj = require(1776) /* useGenericKeyboardHandler */;
2026-07-20 16:05:17 +00:00
obj = { enabled: tmp };
obj.children = <closure_3 style={{ opacity: obj.useKeyboardAnimation().progress }}>{arg0.children}</closure_3>;
2026-07-23 10:11:24 +00:00
return jsx(require(1787) /* KeyboardAvoidingView */.KeyboardStickyView, { enabled: tmp });
2026-07-20 16:05:17 +00:00
};