make some KeyboardAvoidingViewProps optional (#14667)

This commit is contained in:
Libin Lu
2017-03-10 19:22:52 -05:00
committed by Mohamed Hegazy
parent 7deac77175
commit 750ea4bca7

View File

@@ -1849,13 +1849,13 @@ declare module "react" {
/**
* The style of the content container(View) when behavior is 'position'.
*/
contentContainerStyle: ViewStyle
contentContainerStyle?: ViewStyle
/**
* This is the distance between the top of the user screen and the react native view,
* may be non-zero in some use cases.
*/
keyboardVerticalOffset: number
keyboardVerticalOffset?: number
ref?: Ref<KeyboardAvoidingViewStatic & ViewStatic>
}