decord/source/design/components/Sheet/native/BottomSheetTextInput.native.tsx
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

52 lines
1.7 KiB
TypeScript

// Module ID: 9886
// Function ID: 9887
// Name: BottomSheetTextInput
// Dependencies: [19, 21, 6727, 6725, 9887, 2]
// Exports: BottomSheetTextInput
// Module 9886 (BottomSheetTextInput)
import NativeTextInput from "NativeTextInput" /* 6725 */;
import useBottomSheetKeyboardHandlingDefault from "useBottomSheetKeyboardHandling" /* 6727 */;
import TextInput_TextInputDefault from "TextInput/TextInput" /* 9887 */;
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
});
};