react-native-element-dropdown
Version:
React Native Element Dropdown is a library that provides a customizable dropdown component for React Native applications.
67 lines • 1.35 kB
JavaScript
import { I18nManager, StyleSheet } from 'react-native';
export const styles = StyleSheet.create({
mainWrap: {
justifyContent: 'center'
},
container: {
flexShrink: 1,
borderWidth: 0.5,
borderColor: '#EEEEEE',
backgroundColor: 'white',
shadowColor: '#000',
shadowOffset: {
width: 0,
height: 1
},
shadowOpacity: 0.2,
shadowRadius: 1.41,
elevation: 2
},
flex1: {
flex: 1
},
flexShrink: {
flexShrink: 1
},
wrapTop: {
justifyContent: 'flex-end'
},
dropdown: {
flexDirection: I18nManager.isRTL ? 'row-reverse' : 'row',
justifyContent: 'space-between',
alignItems: 'center'
},
title: {
marginVertical: 5,
fontSize: 16,
writingDirection: I18nManager.isRTL ? 'rtl' : 'ltr'
},
item: {
padding: 17,
flexDirection: I18nManager.isRTL ? 'row-reverse' : 'row',
justifyContent: 'space-between',
alignItems: 'center'
},
textItem: {
flex: 1,
fontSize: 16,
writingDirection: I18nManager.isRTL ? 'rtl' : 'ltr'
},
icon: {
width: 20,
height: 20
},
input: {
borderWidth: 0.5,
borderColor: '#DDDDDD',
paddingHorizontal: 8,
marginBottom: 8,
margin: 6,
height: 45
},
fullScreen: {
alignItems: 'center',
justifyContent: 'center'
}
});
//# sourceMappingURL=styles.js.map