Skip to content

Commit

Permalink
Merge pull request DefinitelyTyped#21791 from iRoachie/rnmb
Browse files Browse the repository at this point in the history
[rn-modalbox] Added keyboardTopOffset
  • Loading branch information
alloy authored Nov 29, 2017
2 parents 420f99c + 669c61e commit c025895
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions types/react-native-modalbox/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit c025895

Please sign in to comment.