mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-12 21:13:14 +08:00
make some KeyboardAvoidingViewProps optional (#14667)
This commit is contained in:
4
react-native/index.d.ts
vendored
4
react-native/index.d.ts
vendored
@@ -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>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user