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
Describe the bug
The textColor prop in the CardForm component from @stripe/stripe-react-native library is not working properly. The text color does not change when setting the textColor property in the cardStyle object.
To Reproduce
Steps to reproduce the behavior:
Implement a CardForm component from @stripe/stripe-react-native
Set the cardStyle prop with a textColor property
The text color remains unchanged regardless of the value set <CardForm cardStyle={{ backgroundColor: "#ffffff", textColor: "#ffffff", // This property has no effect placeholderColor: "#ff0000", fontSize: 200, }} // ... rest of the props />
Expected behavior
The text color of the input fields should change according to the textColor value set in cardStyle.
Smartphone
Device: iOS
OS: Latest versions
Version: @stripe/stripe-react-native latest version
Additional context
The other styling properties in cardStyle (like backgroundColor) work correctly
The issue persists regardless of the color format used (hex, rgb, or named colors)
The text was updated successfully, but these errors were encountered:
Describe the bug
The textColor prop in the CardForm component from @stripe/stripe-react-native library is not working properly. The text color does not change when setting the textColor property in the cardStyle object.
To Reproduce
Steps to reproduce the behavior:
Implement a CardForm component from @stripe/stripe-react-native
Set the cardStyle prop with a textColor property
The text color remains unchanged regardless of the value set
<CardForm cardStyle={{ backgroundColor: "#ffffff", textColor: "#ffffff", // This property has no effect placeholderColor: "#ff0000", fontSize: 200, }} // ... rest of the props />
Expected behavior
The text color of the input fields should change according to the textColor value set in cardStyle.
Smartphone
Device: iOS
OS: Latest versions
Version: @stripe/stripe-react-native latest version
Additional context
The other styling properties in cardStyle (like backgroundColor) work correctly
The issue persists regardless of the color format used (hex, rgb, or named colors)
The text was updated successfully, but these errors were encountered: