@@ -9,15 +9,15 @@ import { ScrollViewProperties, ListViewProperties } from 'react-native'
99interface KeyboardAwareProps {
1010 /**
1111 * Adds an extra offset that represents the TabBarIOS height.
12- *
12+ *
1313 * @type {boolean }
1414 * @memberof KeyboardAwareProps
1515 */
1616 viewIsInsideTabBar ?: boolean
1717
1818 /**
1919 * Coordinates that will be used to reset the scroll when the keyboard hides.
20- *
20+ *
2121 * @type {{
2222 * x: number,
2323 * y: number
@@ -31,17 +31,17 @@ interface KeyboardAwareProps {
3131
3232 /**
3333 * Lets the user enable or disable automatic resetScrollToCoords
34- *
34+ *
3535 * @type {boolean }
3636 * @memberof KeyboardAwareProps
3737 */
3838 enableResetScrollToCoords ?: boolean
3939
4040 /**
4141 * When focus in TextInput will scroll the position
42- *
42+ *
4343 * Default is true
44- *
44+ *
4545 * @type {boolean }
4646 * @memberof KeyboardAwareProps
4747 */
@@ -57,11 +57,11 @@ interface KeyboardAwareProps {
5757 extraHeight ?: number
5858
5959 /**
60- * Adds an extra offset to the keyboard.
60+ * Adds an extra offset to the keyboard.
6161 * Useful if you want to stick elements above the keyboard.
62- *
62+ *
6363 * Default is 0
64- *
64+ *
6565 * @type {number }
6666 * @memberof KeyboardAwareProps
6767 */
@@ -71,6 +71,10 @@ interface KeyboardAwareProps {
7171interface KeyboardAwareListViewProps extends KeyboardAwareProps , ListViewProperties { }
7272interface KeyboardAwareScrollViewProps extends KeyboardAwareProps , ScrollViewProperties { }
7373
74+ interface KeyboardAwareState {
75+ keyboardSpace : number
76+ }
77+
7478export class KeyboardAwareMixin { }
75- export class KeyboardAwareListView extends React . Component < KeyboardAwareListViewProps , any > { }
76- export class KeyboardAwareScrollView extends React . Component < KeyboardAwareScrollViewProps , any > { }
79+ export class KeyboardAwareListView extends React . Component < KeyboardAwareListViewProps , KeyboardAwareState > { }
80+ export class KeyboardAwareScrollView extends React . Component < KeyboardAwareScrollViewProps , KeyboardAwareState > { }
0 commit comments