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

Function optionText

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

Source from the content-addressed store, hash-verified

96 alignItems: 'center' as 'center',
97 }
98}
99
100function 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}

Callers 1

ChatModelModalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected