(theme, baseType, type)
| 83 | } |
| 84 | }) |
| 85 | } |
| 86 | |
| 87 | function optionContainer(theme: Theme, baseType: string, type: string) { |
| 88 | const selected = baseType === type |
| 89 | return { |
| 90 | backgroundColor: selected ? theme.tintColor : theme.backgroundColor, |
| 91 | padding: 12, |
| 92 | borderRadius: 8, |
| 93 | marginBottom: 9, |
| 94 | flexDirection: 'row' as 'row', |
| 95 | justifyContent: 'center' as 'center', |
| 96 | alignItems: 'center' as 'center', |
| 97 | } |
| 98 | } |
| 99 |