react-native-slider-picker
Advanced tools
Comparing version 1.0.34 to 1.0.35
{ | ||
"name": "react-native-slider-picker", | ||
"version": "1.0.34", | ||
"version": "1.0.35", | ||
"description": "Custom range slide picker for React Native. 🚧 UNDER CONSTRUCTION 🚧", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -146,4 +146,10 @@ /** | ||
// Set width of wrapper to value passed to props.widthPercentage | ||
wrapperStyles['width'] = vw(this.widthPercentage); | ||
// Add some bottom margin if number scale is not being shown | ||
if (!this.showNumberScale) { | ||
wrapperStyles['marginBottom'] = vh(2); | ||
} | ||
return ( | ||
@@ -506,2 +512,3 @@ // Wrapper for slider | ||
paddingTop: vw(6), | ||
marginBottom: vh(2), | ||
width: vw(85), | ||
@@ -508,0 +515,0 @@ ... Platform.select({ |
46677
727