react-native-modal
Advanced tools
Comparing version 6.3.0 to 6.4.0
{ | ||
"name": "react-native-modal", | ||
"version": "6.3.0", | ||
"version": "6.4.0", | ||
"description": "An enhanced React-Native modal", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -29,6 +29,6 @@ declare module "react-native-modal" { | ||
swipeDirection?: "up" | "down" | "left" | "right"; | ||
scrollTo?: () => void; | ||
scrollTo?: (e: any) => void; | ||
scrollOffset?: number; | ||
scrollOffsetMax?: number; | ||
supportedOrientations?: "portrait" | "portrait-upside-down" | "landscape" | "landscape-left" | "landscape-right"; | ||
supportedOrientations?: string[]; | ||
} | ||
@@ -35,0 +35,0 @@ |
@@ -61,3 +61,3 @@ import React, { Component } from "react"; | ||
scrollOffsetMax: PropTypes.number, | ||
supportedOrientations: PropTypes.oneOf(['portrait', 'portrait-upside-down', 'landscape', 'landscape-left', 'landscape-right']) | ||
supportedOrientations: PropTypes.arrayOf(PropTypes.oneOf(["portrait", "portrait-upside-down", "landscape", "landscape-left", "landscape-right"])), | ||
}; | ||
@@ -86,3 +86,3 @@ | ||
scrollOffsetMax: 0, | ||
supportedOrientations: ['portrait', 'landscape'] | ||
supportedOrientations: ["portrait", "landscape"] | ||
}; | ||
@@ -89,0 +89,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31558