(theme, baseType, type)
| 96 | alignItems: 'center' as 'center', |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | function optionText(theme: Theme, baseType: string, type: string) { |
| 101 | const selected = baseType === type |
| 102 | return { |
| 103 | color: selected ? theme.tintTextColor : theme.textColor, |
| 104 | fontFamily: theme.boldFont, |
| 105 | fontSize: 15, |
| 106 | shadowColor: 'rgba(0, 0, 0, .2)', |
| 107 | shadowOffset: {width: 0, height: 2}, |
| 108 | shadowOpacity: 0.3, |
| 109 | shadowRadius: 2, |
| 110 | marginLeft: 5 |
| 111 | } |
| 112 | } |