react-native-keyboard-controller
Version:
Keyboard manager which works in identical way on both iOS and Android
39 lines (38 loc) • 1.33 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.WindowDimensionsEvents = exports.RCTOverKeyboardView = exports.KeyboardGestureArea = exports.KeyboardEvents = exports.KeyboardControllerView = exports.KeyboardControllerNative = exports.FocusedInputEvents = void 0;
var _reactNative = require("react-native");
const NOOP = () => {};
const KeyboardControllerNative = exports.KeyboardControllerNative = {
setDefaultMode: NOOP,
setInputMode: NOOP,
dismiss: NOOP,
setFocusTo: NOOP,
addListener: NOOP,
removeListeners: NOOP
};
const KeyboardEvents = exports.KeyboardEvents = {
addListener: () => ({
remove: NOOP
})
};
/**
* This API is not documented, it's for internal usage only (for now), and is a subject to potential breaking changes in future.
* Use it with cautious.
*/
const FocusedInputEvents = exports.FocusedInputEvents = {
addListener: () => ({
remove: NOOP
})
};
const WindowDimensionsEvents = exports.WindowDimensionsEvents = {
addListener: () => ({
remove: NOOP
})
};
const KeyboardControllerView = exports.KeyboardControllerView = _reactNative.View;
const KeyboardGestureArea = exports.KeyboardGestureArea = _reactNative.View;
const RCTOverKeyboardView = exports.RCTOverKeyboardView = _reactNative.View;
//# sourceMappingURL=bindings.js.map