MCPcopy Create free account
hub / github.com/dabit3/react-native-ai / optionContainer

Function optionContainer

app/src/components/ChatModelModal.tsx:85–96  ·  view source on GitHub ↗
(theme, baseType, type)

Source from the content-addressed store, hash-verified

83 }
84 })
85}
86
87function 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

Callers 1

ChatModelModalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected