From 750ea4bca74efe85ce2b6bc93ab55eeb61930e5a Mon Sep 17 00:00:00 2001 From: Libin Lu Date: Fri, 10 Mar 2017 19:22:52 -0500 Subject: [PATCH] make some KeyboardAvoidingViewProps optional (#14667) --- react-native/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/react-native/index.d.ts b/react-native/index.d.ts index 338b5c4c6c..93059b5134 100644 --- a/react-native/index.d.ts +++ b/react-native/index.d.ts @@ -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 }