File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 44// TypeScript Version: 2.3.2
55
66import * as React from 'react'
7- import { ScrollViewProperties , ListViewProperties } from 'react-native'
7+ import { ScrollViewProperties , ListViewProperties , FlatListProperties } from 'react-native'
88
99interface KeyboardAwareProps {
1010 /**
@@ -47,7 +47,7 @@ interface KeyboardAwareProps {
4747 * @memberof KeyboardAwareProps
4848 */
4949 enableAutoAutomaticScroll ?: boolean
50-
50+
5151 /**
5252 * Enables keyboard aware settings for Android
5353 *
@@ -95,6 +95,9 @@ interface KeyboardAwareListViewProps
9595interface KeyboardAwareScrollViewProps
9696 extends KeyboardAwareProps ,
9797 ScrollViewProperties { }
98+ interface KeyboardAwareFlatListProps < ItemT >
99+ extends KeyboardAwareProps ,
100+ FlatListProperties < ItemT > { }
98101
99102interface KeyboardAwareState {
100103 keyboardSpace : number
@@ -109,3 +112,7 @@ export class KeyboardAwareScrollView extends React.Component<
109112 KeyboardAwareScrollViewProps ,
110113 KeyboardAwareState
111114> { }
115+ export class KeyboardAwareFlatList extends React . Component <
116+ KeyboardAwareFlatListProps < any > ,
117+ KeyboardAwareState
118+ > { }
You can’t perform that action at this time.
0 commit comments