From d56ad7443b6a20a06fe3e9ea31ac9143967d5ca1 Mon Sep 17 00:00:00 2001 From: Zoran Marjanovic Date: Tue, 6 Jun 2017 10:45:38 +0200 Subject: [PATCH] Added style props for actionSheet android --- components/ActionSheet/actionSheetAndroid.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/components/ActionSheet/actionSheetAndroid.js b/components/ActionSheet/actionSheetAndroid.js index 5f3c1dd..44189cb 100644 --- a/components/ActionSheet/actionSheetAndroid.js +++ b/components/ActionSheet/actionSheetAndroid.js @@ -124,7 +124,7 @@ export default class ActionSheetAndroid extends Component { console.debug('close'); }} > - + + destructiveButtonIndex === item.index && Style.deleteText && this.props.destructiveTextStyle, destructiveButtonIndex !== item.index && this.props.itemTextStyle]}> {item.item} @@ -169,7 +169,7 @@ export default class ActionSheetAndroid extends Component { onPress={() => {this.choseItem(cancelButtonIndex);}} > - {options[cancelButtonIndex]} + {options[cancelButtonIndex]} )} @@ -184,10 +184,11 @@ const Style = StyleSheet.create({ wrapper: { flex: 1, alignItems: 'center', - backgroundColor: '#00000099' + backgroundColor: '#00000099', + justifyContent: 'flex-end' }, body: { - width: width - 20 + width: width - 20, }, itemContainer: { alignItems: 'center',