Commit 92293725 by Giang Tran

update code

parent e625ad19
...@@ -163,13 +163,17 @@ export default class PickerItem extends Component { ...@@ -163,13 +163,17 @@ export default class PickerItem extends Component {
<View <View
style={[ style={[
styles.dropdown_row, styles.dropdown_row,
{backgroundColor: isSelected ? '#ffffff' : '#f2f2f2'}, {backgroundColor: isSelected ? '#1C6AF6' : '#f2f2f2'},
]}> ]}>
<Text <Text
numberOfLines={1} numberOfLines={1}
style={[ style={[
styles.dropdown_row_text, styles.dropdown_row_text,
{marginHorizontal: WIDTHXD(30)}, {
marginHorizontal: WIDTHXD(30),
color: isSelected ? 'white' : 'black',
fontWeight: isSelected ? 'bold' : '300',
},
]}> ]}>
{`${option.name}`} {`${option.name}`}
</Text> </Text>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment