Closed andrehadianto closed 1 year ago
you can apply a custom text color:
<Text
key={index}
style={[styles.cell, isFocused && styles.focusCell]}
onLayout={getCellOnLayoutHandler(index)}>
- {symbol || (isFocused ? <Cursor /> : null)}
+ {symbol || (isFocused ? <Text style={{color:'red'}}><Cursor /></Text> : null)}
</Text>
How can I change the color of the cursor?