UNPKG

react-native-web

Version:
29 lines (25 loc) 639 B
/** * Copyright (c) Nicolas Gallagher. * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ import dismissKeyboard from '../../modules/dismissKeyboard'; // in the future we can use https://github.com/w3c/virtual-keyboard const Keyboard = { isVisible(): boolean { return false; }, addListener(): {| remove: () => void |} { return { remove: () => {} }; }, dismiss() { dismissKeyboard(); }, removeAllListeners() {}, removeListener() {} }; export default Keyboard;