🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

react-native-airship

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-airship - npm Package Compare versions

Comparing version
0.2.6
to
0.2.7
+6
-0
CHANGELOG.md
# 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 @@

+1
-0

@@ -16,2 +16,3 @@ import * as React from 'react';

maxWidth?: number;
overflow?: 'visible' | 'scroll' | 'hidden';
padding?: number | number[];

@@ -18,0 +19,0 @@ shadowOffset?: {

+2
-1

@@ -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,

@@ -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 @@ *

{
"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