react-native-modal
Advanced tools
Comparing version 6.2.0 to 6.3.0
{ | ||
"name": "react-native-modal", | ||
"version": "6.2.0", | ||
"version": "6.3.0", | ||
"description": "An enhanced React-Native modal", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -32,2 +32,3 @@ declare module "react-native-modal" { | ||
scrollOffsetMax?: number; | ||
supportedOrientations?: "portrait" | "portrait-upside-down" | "landscape" | "landscape-left" | "landscape-right"; | ||
} | ||
@@ -34,0 +35,0 @@ |
@@ -60,3 +60,4 @@ import React, { Component } from "react"; | ||
scrollOffset: PropTypes.number, | ||
scrollOffsetMax: PropTypes.number | ||
scrollOffsetMax: PropTypes.number, | ||
supportedOrientations: PropTypes.oneOf(['portrait', 'portrait-upside-down', 'landscape', 'landscape-left', 'landscape-right']) | ||
}; | ||
@@ -84,3 +85,4 @@ | ||
scrollOffset: 0, | ||
scrollOffsetMax: 0 | ||
scrollOffsetMax: 0, | ||
supportedOrientations: ['portrait', 'landscape'] | ||
}; | ||
@@ -87,0 +89,0 @@ |
31612
518