We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb7b59b commit cc89f8fCopy full SHA for cc89f8f
src/index.ts
@@ -1,6 +1,7 @@
1
import RNASModule from './RNASModule'
2
+import { ISafeKeyboardDetector } from './types'
3
-export const SafeKeyboardDetector = {
4
+export const SafeKeyboardDetector: ISafeKeyboardDetector = {
5
isCurrentKeyboardSafe: RNASModule.isCurrentKeyboardSafe,
6
showInputMethodPicker: RNASModule.showInputMethodPicker,
7
}
src/types.ts
@@ -0,0 +1,4 @@
+export interface ISafeKeyboardDetector {
+ isCurrentKeyboardSafe: (customWhiteListedKeyboardList?: String[]) => boolean;
+ showInputMethodPicker: () => void;
+}
0 commit comments