You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I want to change the color of my number when it is selected, but I can't change it using selectionColor. The following is my code: eturn ( <View style={styles.container}> <Picker style={[styles.picker, {width: screenWidth / 4.5}]} selectedValue={selectedHour} onValueChange={itemValue => setSelectedHour(itemValue)} selectionColor={processColor('#e83b30')}> {[...Array(12)].map((_, index) => ( <Picker.Item label={${index + 1}} value={${index + 1}} key={index} selectionColor="#e83b3e" /> ))} </Picker>
In addition, I also want to change the color of the gray rectangular selection box in the middle. How should I change it?
The text was updated successfully, but these errors were encountered:
Hello, I want to change the color of my number when it is selected, but I can't change it using selectionColor. The following is my code:
eturn ( <View style={styles.container}> <Picker style={[styles.picker, {width: screenWidth / 4.5}]} selectedValue={selectedHour} onValueChange={itemValue => setSelectedHour(itemValue)} selectionColor={processColor('#e83b30')}> {[...Array(12)].map((_, index) => ( <Picker.Item label={
${index + 1}} value={
${index + 1}} key={index} selectionColor="#e83b3e" /> ))} </Picker>
In addition, I also want to change the color of the gray rectangular selection box in the middle. How should I change it?
The text was updated successfully, but these errors were encountered: