UNPKG

react-native-keyboard-aware-scroll-view

Version:

A React Native ScrollView component that resizes when the keyboard appears.

14 lines (12 loc) 390 B
/* @flow */ export interface KeyboardAwareInterface { getScrollResponder: () => void, scrollToPosition: (x: number, y: number, animated?: boolean) => void, scrollToEnd: (animated?: boolean) => void, scrollForExtraHeightOnAndroid: (extraHeight: number) => void, scrollToFocusedInput: ( reactNode: Object, extraHeight: number, keyboardOpeningTime: number ) => void }