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

50 lines
1.4 KiB
TypeScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 9157
// Function ID: 9158
2026-07-20 16:05:17 +00:00
// Name: BottomSheetTextInput
2026-08-25 06:04:03 +00:00
// Dependencies: [19, 21, 6114, 6112, 9158, 2]
2026-07-20 16:05:17 +00:00
// Exports: BottomSheetTextInput
2026-08-25 06:04:03 +00:00
// Module 9157 (BottomSheetTextInput)
2026-08-24 06:08:38 +00:00
import closure_3 from "noop" /* 19 */;
import { jsx } from "jsxProd" /* 21 */;
2026-07-20 16:05:17 +00:00
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-08-24 06:08:38 +00:00
const result = require("set").fileFinishedImporting("design/components/Sheet/native/BottomSheetTextInput.native.tsx");
2026-07-20 16:05:17 +00:00
export const BottomSheetTextInput = function BottomSheetTextInput(ref) {
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-25 06:04:03 +00:00
({ onFocus: onFocus2, onBlur: onBlur2 } = ref(6114)({ onFocus, onBlur }));
let obj = ref(6112);
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-25 06:04:03 +00:00
const tmp3 = ref(6114)({ onFocus, onBlur });
2026-07-20 16:05:17 +00:00
const merged1 = Object.assign(merged);
2026-08-25 06:04:03 +00:00
return jsx(ref(9158), {
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
};