react-native-airship
Advanced tools
+6
-0
| # react-native-airship | ||
| ## 0.2.7 (2021-07-29) | ||
| ### Added | ||
| - New optional `overflow` prop for `AirshipModal`. | ||
| ## 0.2.6 (2021-07-15) | ||
@@ -4,0 +10,0 @@ |
@@ -16,2 +16,3 @@ import * as React from 'react'; | ||
| maxWidth?: number; | ||
| overflow?: 'visible' | 'scroll' | 'hidden'; | ||
| padding?: number | number[]; | ||
@@ -18,0 +19,0 @@ shadowOffset?: { |
@@ -10,3 +10,3 @@ import * as React from 'react'; | ||
| export function AirshipModal(props) { | ||
| const { bridge, children, onCancel, backgroundColor = 'white', borderRadius = 10, center = false, flexDirection, justifyContent, maxHeight, maxWidth = 512, shadowOffset = { height: 0, width: 0 }, shadowOpacity = 1, shadowRadius = 10, slideInMs = 300, slideOutMs = 300, underlay = 'rgba(0, 0, 0, 0.75)' } = props; | ||
| const { bridge, children, onCancel, backgroundColor = 'white', borderRadius = 10, center = false, flexDirection, justifyContent, maxHeight, maxWidth = 512, overflow = 'visible', shadowOffset = { height: 0, width: 0 }, shadowOpacity = 1, shadowRadius = 10, slideInMs = 300, slideOutMs = 300, underlay = 'rgba(0, 0, 0, 0.75)' } = props; | ||
| const margin = sidesToMargin(fixSides(props.margin, 0)); | ||
@@ -69,2 +69,3 @@ const padding = sidesToPadding(fixSides(props.padding, 0)); | ||
| maxHeight, | ||
| overflow, | ||
| shadowOffset, | ||
@@ -71,0 +72,0 @@ shadowOpacity, |
+1
-1
@@ -28,3 +28,3 @@ import * as React from 'react'; | ||
| /** | ||
| * The Airship itself is a component you should mount after your main | ||
| * The Airship itself is a component you should mount around your main | ||
| * scene or router. | ||
@@ -31,0 +31,0 @@ * |
+1
-1
| { | ||
| "name": "react-native-airship", | ||
| "version": "0.2.6", | ||
| "version": "0.2.7", | ||
| "private": false, | ||
@@ -5,0 +5,0 @@ "description": "Flexible toolkit for building modals & alerts", |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
36210
0.62%646
0.31%0
-100%