mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
[rn-modalbox] Added keyboardTopOffset
This commit is contained in:
parent
dc0c4811d4
commit
669c61e559
7
types/react-native-modalbox/index.d.ts
vendored
7
types/react-native-modalbox/index.d.ts
vendored
@ -135,6 +135,13 @@ export interface ModalProps extends ViewProperties {
|
||||
*/
|
||||
startOpen?: boolean;
|
||||
|
||||
/**
|
||||
* This property prevent the modal to cover the ios status bar when the modal is scrolling up because the keyboard is opening
|
||||
*
|
||||
* Default is ios:22, android:0
|
||||
*/
|
||||
keyboardTopOffset?: number;
|
||||
|
||||
/**
|
||||
* Event fired when the modal is closed and the animation is complete
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user