decord/source/design/components/Sheet/native/BottomSheetTextInput.native.tsx

55 lines
1.5 KiB
TypeScript
Raw Normal View History

2026-07-24 07:16:23 +00:00
// Module ID: 8470
// Function ID: 67384
2026-07-20 16:05:17 +00:00
// Name: BottomSheetTextInput
2026-07-24 07:16:23 +00:00
// Dependencies: [31, 33, 5785, 5783, 8471, 2]
2026-07-20 16:05:17 +00:00
// Exports: BottomSheetTextInput
2026-07-24 07:16:23 +00:00
// Module 8470 (BottomSheetTextInput)
2026-07-23 10:11:24 +00:00
import result from "result";
import { jsx } from "jsxProd";
2026-07-20 16:05:17 +00:00
2026-07-23 10:11:24 +00:00
const require = arg1;
const result = require("useBottomSheetKeyboardHandling").fileFinishedImporting("design/components/Sheet/native/BottomSheetTextInput.native.tsx");
2026-07-20 16:05:17 +00:00
export const BottomSheetTextInput = function BottomSheetTextInput(ref) {
let onBlur;
let onBlur2;
let onFocus;
let onFocus2;
2026-07-23 10:11:24 +00:00
ref = ref.ref;
let obj = { onFocus: 0, onBlur: 0, ref: 0 };
2026-07-20 16:05:17 +00:00
({ onFocus, onBlur } = ref);
Object.setPrototypeOf(null);
const merged = Object.assign(ref, obj);
ref = React.useRef(null);
2026-07-23 10:11:24 +00:00
({ onFocus: onFocus2, onBlur: onBlur2 } = ref(5785)({ onFocus, onBlur }));
const tmp4 = ref(5785)({ onFocus, onBlur });
const keyboardBlurring = ref(5783).useKeyboardBlurring(ref);
2026-07-20 16:05:17 +00:00
obj = {
ref(current) {
ref.current = current;
if ("function" === typeof ref) {
ref(current);
} else if (null != ref) {
ref.current = current;
}
},
onFocus: onFocus2,
onBlur: onBlur2
};
2026-07-23 10:11:24 +00:00
const obj2 = ref(5783);
2026-07-20 16:05:17 +00:00
const merged1 = Object.assign(merged);
2026-07-24 07:16:23 +00:00
return jsx(ref(8471), {
2026-07-23 10:11:24 +00:00
ref(current) {
ref.current = current;
if ("function" === typeof ref) {
ref(current);
} else if (null != ref) {
ref.current = current;
}
},
onFocus: onFocus2,
onBlur: onBlur2
});
2026-07-20 16:05:17 +00:00
};