decord/source/design/components/Sheet/native/BottomSheetTextInput.native.tsx
github-actions 03cf168fbc chore: update source for alpha 347.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4825.js (118.4 MB)
2026-09-17 08:17:09 +00:00

52 lines
1.7 KiB
TypeScript

// Module ID: 9907
// Function ID: 9908
// Name: BottomSheetTextInput
// Dependencies: [19, 21, 6737, 6735, 9908, 2]
// Exports: BottomSheetTextInput
// Module 9907 (BottomSheetTextInput)
import NativeTextInput from "NativeTextInput" /* 6735 */;
import useBottomSheetKeyboardHandlingDefault from "useBottomSheetKeyboardHandling" /* 6737 */;
import TextInput_TextInputDefault from "TextInput/TextInput" /* 9908 */;
import noop from "module_19" /* 19 */;
require = fn;
const jsx = fn(21).jsx;
const size = fn(2);
const result = size.fileFinishedImporting("design/components/Sheet/native/BottomSheetTextInput.native.tsx");
export const BottomSheetTextInput = function BottomSheetTextInput(ref) {
ref = ref.ref;
({ onFocus, onBlur } = ref);
ref = undefined;
const merged = Object.assign(ref, Object.assign({ onFocus: 0, onBlur: 0, ref: 0 }));
ref = noop.useRef(null);
({ onFocus: onFocus2, onBlur: onBlur2 } = useBottomSheetKeyboardHandlingDefault({ onFocus, onBlur }));
const tmp3 = useBottomSheetKeyboardHandlingDefault({ onFocus, onBlur });
const keyboardBlurring = NativeTextInput.useKeyboardBlurring(ref);
const obj2 = {
ref(current) {
ref.current = current;
if (typeof ref === "function") {
tmp(current);
} else if (null != tmp) {
tmp.current = current;
}
},
onFocus: onFocus2,
onBlur: onBlur2
};
const merged1 = Object.assign(merged);
return jsx(TextInput_TextInputDefault, {
ref(current) {
ref.current = current;
if (typeof ref === "function") {
tmp(current);
} else if (null != tmp) {
tmp.current = current;
}
},
onFocus: onFocus2,
onBlur: onBlur2
});
};