Skip to content

Commit

Permalink
feat: Make deviceWidth and deviceHeight to also accept number (#591)
Browse files Browse the repository at this point in the history
  • Loading branch information
exneval committed Aug 16, 2021
1 parent 6018185 commit 43889b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ const defaultProps = {
backdropTransitionOutTiming: 300,
customBackdrop: null as React.ReactNode,
useNativeDriver: false,
deviceHeight: null,
deviceWidth: null,
deviceHeight: null as OrNull<number>,
deviceWidth: null as OrNull<number>,
hideModalContentWhileAnimating: false,
propagateSwipe: false as
| boolean
Expand Down

0 comments on commit 43889b4

Please sign in to comment.