import { useKeyboard } from '@react-native-community/hooks' code example Example: install react-native-community hooks npm install @react-native-community/hooks