11 lines
526 B
TypeScript
11 lines
526 B
TypeScript
// Metro module 5218 (f5219).
|
|
import { useAppEntryKey, DEFAULT_APP_ENTRY_KEY } from "../../window/native/AppEntryKeyContext";
|
|
import KeyboardUIStore_native from "./KeyboardUIStore.native";
|
|
export default function useCustomKeyboardHeight() {
|
|
const appEntryKey = useAppEntryKey();
|
|
return KeyboardUIStore_native((a0) => a0.byAppEntry[appEntryKey].customKeyboardHeight);
|
|
};
|
|
export function getCustomKeyboardHeight(r2 = DEFAULT_APP_ENTRY_KEY) {
|
|
return KeyboardUIStore_native.getState().byAppEntry[r2].customKeyboardHeight;
|
|
}
|