react-native-arm-dropdown
Advanced tools
Comparing version 0.0.3 to 0.0.4
import DropDown from './src/index'; | ||
module.exports = DropDown; | ||
module.exports = DropDown; |
{ | ||
"name": "react-native-arm-dropdown", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "DropDown for React-Native", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -206,2 +206,2 @@ import React, { Component } from 'react'; | ||
} | ||
}; | ||
}; |
import React from 'react'; | ||
import { View, Text, TouchableOpacity } from 'react-native'; | ||
import { View, Text, TouchableOpacity, Platform } from 'react-native'; | ||
import DropDown from './index'; | ||
@@ -31,3 +31,3 @@ import styles from './style'; | ||
activeOpacity={1} | ||
style={props.item} | ||
style={[props.item, (Platform.OS === 'ios')?({height: 25}):(null)]} | ||
onPress={()=>{ | ||
@@ -52,2 +52,2 @@ props.onChange(props.id, props.title, props.drop); | ||
export default Item; | ||
export default Item; |
@@ -59,2 +59,2 @@ import { StyleSheet } from 'react-native'; | ||
export default styles; | ||
export default styles; |
Sorry, the diff of this file is not supported yet
12704
290