react-native-modal-selector
Advanced tools
Comparing version 0.0.18 to 0.0.19
@@ -29,2 +29,3 @@ 'use strict'; | ||
selectStyle: ViewPropTypes.style, | ||
selectTextStyle: ViewPropTypes.style, | ||
optionStyle: ViewPropTypes.style, | ||
@@ -51,2 +52,3 @@ optionTextStyle: Text.propTypes.style, | ||
selectStyle: {}, | ||
selectTextStyle: {}, | ||
optionStyle: {}, | ||
@@ -53,0 +55,0 @@ optionTextStyle: {}, |
{ | ||
"name": "react-native-modal-selector", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"description": "A cross-platform (iOS / Android), selector/picker component for React Native that is highly customizable and supports sections.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -93,3 +93,3 @@ # react-native-modal-selector [](https://badge.fury.io/js/react-native-modal-selector) | ||
`selectTextStyle` | object | Yes | {} | style definitions for the select element (available in default mode only!) | ||
`overlayStyle` | object | Yes | {} | style definitions for the overly/background element | ||
`overlayStyle` | object | Yes | { flex: 1, padding: '5%', justifyContent: 'center', backgroundColor: 'rgba(0,0,0,0.7)' } | style definitions for the overlay background element. RN <= 0.41 should override this with pixel value for padding. | ||
`sectionStyle` | object | Yes | {} | style definitions for the section element | ||
@@ -96,0 +96,0 @@ `sectionTextStyle` | object | Yes | {} | style definitions for the select text element |
@@ -14,3 +14,3 @@ 'use strict'; | ||
flex: 1, | ||
padding: 30, | ||
padding: '5%', | ||
justifyContent: 'center', | ||
@@ -22,3 +22,3 @@ backgroundColor: 'rgba(0,0,0,0.7)', | ||
borderRadius: BORDER_RADIUS, | ||
flex: 1, | ||
flexShrink: 1, | ||
marginBottom: 8, | ||
@@ -30,3 +30,3 @@ padding: PADDING, | ||
cancelContainer: { | ||
flex: 1, | ||
flexGrow: 1, | ||
maxHeight: 30, | ||
@@ -33,0 +33,0 @@ alignSelf: 'stretch', |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
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
25675
246
2