43 lines
1.4 KiB
TypeScript
43 lines
1.4 KiB
TypeScript
// Module ID: 8420
|
|
// Function ID: 67119
|
|
// Name: BottomSheetTextInput
|
|
// Dependencies: [0, 0, 0, 0, 0, 0]
|
|
// Exports: BottomSheetTextInput
|
|
|
|
// Module 8420 (BottomSheetTextInput)
|
|
import __exportStarResult1 from "__exportStarResult1";
|
|
import { jsx } from "__exportStarResult1";
|
|
|
|
const result = require("__exportStarResult1").fileFinishedImporting("design/components/Sheet/native/BottomSheetTextInput.native.tsx");
|
|
|
|
export const BottomSheetTextInput = function BottomSheetTextInput(ref) {
|
|
let onBlur;
|
|
let onBlur2;
|
|
let onFocus;
|
|
let onFocus2;
|
|
const arg1 = ref.ref;
|
|
let obj = { paddingVertical: "spring", paddingHorizontal: 0.4, borderRadius: 1 };
|
|
({ onFocus, onBlur } = ref);
|
|
Object.setPrototypeOf(null);
|
|
const merged = Object.assign(ref, obj);
|
|
ref = React.useRef(null);
|
|
const importDefault = ref;
|
|
({ onFocus: onFocus2, onBlur: onBlur2 } = importDefault(dependencyMap[2])({ onFocus, onBlur }));
|
|
const tmp4 = importDefault(dependencyMap[2])({ onFocus, onBlur });
|
|
const keyboardBlurring = arg1(dependencyMap[3]).useKeyboardBlurring(ref);
|
|
obj = {
|
|
ref(current) {
|
|
ref.current = current;
|
|
if ("function" === typeof ref) {
|
|
ref(current);
|
|
} else if (null != ref) {
|
|
ref.current = current;
|
|
}
|
|
},
|
|
onFocus: onFocus2,
|
|
onBlur: onBlur2
|
|
};
|
|
const obj2 = arg1(dependencyMap[3]);
|
|
const merged1 = Object.assign(merged);
|
|
return jsx(importDefault(dependencyMap[4]), obj);
|
|
};
|