Open stesvis opened 1 month ago
Describe the bug It appears that you can't set the placeholder color and the text color in a TextInput without conflicting with each other. The last class name that you use overwrites the previous one.
TextInput
To Reproduce Steps to reproduce the behavior:
// 1 <StyledTextInput className="text-blue-500 placeholder-red-500" placeholder="Enter something" /> // 2 <StyledTextInput className="placeholder-red-500 text-blue-500" placeholder="Enter something" />
Expected behavior
Actual behavior
Expo Snack https://snack.expo.dev/@stesvis/hello-world
How do you get test color and placeholder color to work together?
Describe the bug It appears that you can't set the placeholder color and the text color in a
TextInput
without conflicting with each other. The last class name that you use overwrites the previous one.To Reproduce Steps to reproduce the behavior:
Expected behavior
Actual behavior
Expo Snack https://snack.expo.dev/@stesvis/hello-world
How do you get test color and placeholder color to work together?