| 11 | } from 'react-native' |
| 12 | |
| 13 | interface KeyboardAwareProps { |
| 14 | /** |
| 15 | * Catches the reference of the component. |
| 16 | * |
| 17 | * |
| 18 | * @type {function} |
| 19 | * @memberof KeyboardAwareProps |
| 20 | */ |
| 21 | innerRef?: (ref: JSX.Element) => void |
| 22 | /** |
| 23 | * Adds an extra offset that represents the TabBarIOS height. |
| 24 | * |
| 25 | * Default is false |
| 26 | * @type {boolean} |
| 27 | * @memberof KeyboardAwareProps |
| 28 | */ |
| 29 | viewIsInsideTabBar?: boolean |
| 30 | |
| 31 | /** |
| 32 | * Coordinates that will be used to reset the scroll when the keyboard hides. |
| 33 | * |
| 34 | * @type {{ |
| 35 | * x: number, |
| 36 | * y: number |
| 37 | * }} |
| 38 | * @memberof KeyboardAwareProps |
| 39 | */ |
| 40 | resetScrollToCoords?: { |
| 41 | x: number |
| 42 | y: number |
| 43 | } |
| 44 | |
| 45 | /** |
| 46 | * Lets the user enable or disable automatic resetScrollToCoords |
| 47 | * |
| 48 | * @type {boolean} |
| 49 | * @memberof KeyboardAwareProps |
| 50 | */ |
| 51 | enableResetScrollToCoords?: boolean |
| 52 | |
| 53 | /** |
| 54 | * When focus in TextInput will scroll the position |
| 55 | * |
| 56 | * Default is true |
| 57 | * |
| 58 | * @type {boolean} |
| 59 | * @memberof KeyboardAwareProps |
| 60 | */ |
| 61 | |
| 62 | enableAutomaticScroll?: boolean |
| 63 | /** |
| 64 | * Enables keyboard aware settings for Android |
| 65 | * |
| 66 | * Default is false |
| 67 | * |
| 68 | * @type {boolean} |
| 69 | * @memberof KeyboardAwareProps |
| 70 | */ |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…