UNPKG

react-native-gifted-chat

Version:

The most complete chat UI for React Native. Maintenance mode - active development continues in @kesha-antonov/react-native-chat

12 lines • 567 B
/** * Whether the software keyboard is currently on screen. * * Tracks `keyboardWillShow` / `keyboardWillHide` rather than the `Did` events so layout * reacts *with* the keyboard animation instead of a beat after it. * * `isEnabled` exists because this re-renders its consumer on every keyboard transition: * pass `false` and no listener is registered at all, so features that don't need the * keyboard state pay nothing for it. */ export declare function useIsKeyboardVisible(isEnabled?: boolean): boolean; //# sourceMappingURL=useIsKeyboardVisible.d.ts.map