mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
[react-native] Added keyboardShouldPersistTaps prop to FlatList (#16818)
This commit is contained in:
committed by
Mohamed Hegazy
parent
b2304899ad
commit
5da11947ec
Vendored
+8
@@ -3450,6 +3450,14 @@ export interface FlatListProperties<ItemT> extends ScrollViewProperties {
|
||||
*/
|
||||
columnWrapperStyle?: ViewStyle
|
||||
|
||||
/**
|
||||
* When false tapping outside of the focused text input when the keyboard
|
||||
* is up dismisses the keyboard. When true the scroll view will not catch
|
||||
* taps and the keyboard will not dismiss automatically. The default value
|
||||
* is false.
|
||||
*/
|
||||
keyboardShouldPersistTaps?: boolean | 'always' | 'never' | 'handled'
|
||||
|
||||
/**
|
||||
* For simplicity, data is just a plain array. If you want to use something else,
|
||||
* like an immutable list, use the underlying VirtualizedList directly.
|
||||
|
||||
Reference in New Issue
Block a user