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

54 lines
1.4 KiB
TypeScript
Raw Normal View History

2026-08-13 07:00:46 +00:00
// Module ID: 9059
// Function ID: 9060
2026-07-20 16:05:17 +00:00
// Name: BottomSheetTextInput
2026-08-13 07:00:46 +00:00
// Dependencies: [19, 21, 6048, 6046, 9060, 2]
2026-07-20 16:05:17 +00:00
// Exports: BottomSheetTextInput
2026-08-13 07:00:46 +00:00
// Module 9059 (BottomSheetTextInput)
2026-07-29 08:29:29 +00:00
import noop from "noop";
2026-07-23 10:11:24 +00:00
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;
2026-07-20 16:05:17 +00:00
({ onFocus, onBlur } = ref);
2026-07-29 08:29:29 +00:00
ref = undefined;
const merged = Object.assign(ref, Object.create(null));
2026-07-20 16:05:17 +00:00
ref = React.useRef(null);
2026-08-13 07:00:46 +00:00
({ onFocus: onFocus2, onBlur: onBlur2 } = ref(6048)({ onFocus, onBlur }));
let obj = ref(6046);
2026-07-29 08:29:29 +00:00
const keyboardBlurring = obj.useKeyboardBlurring(ref);
2026-07-20 16:05:17 +00:00
obj = {
ref(current) {
ref.current = current;
2026-08-04 21:03:28 +00:00
if (typeof ref === "function") {
2026-07-29 08:29:29 +00:00
tmp(current);
} else if (null != tmp) {
tmp.current = current;
2026-07-20 16:05:17 +00:00
}
},
onFocus: onFocus2,
onBlur: onBlur2
};
2026-08-13 07:00:46 +00:00
const tmp3 = ref(6048)({ onFocus, onBlur });
2026-07-20 16:05:17 +00:00
const merged1 = Object.assign(merged);
2026-08-13 07:00:46 +00:00
return jsx(ref(9060), {
2026-07-23 10:11:24 +00:00
ref(current) {
ref.current = current;
2026-08-04 21:03:28 +00:00
if (typeof ref === "function") {
2026-07-29 08:29:29 +00:00
tmp(current);
} else if (null != tmp) {
tmp.current = current;
2026-07-23 10:11:24 +00:00
}
},
onFocus: onFocus2,
onBlur: onBlur2
});
2026-07-20 16:05:17 +00:00
};