stripe-react-native
stripe-react-native copied to clipboard
Custom font family
Is your feature request related to a problem? Please describe. No
Describe the solution you'd like Support custom font families (e.g., those imported with useFonts)
Adding context here for anyone else --- https://github.com/stripe/stripe-react-native/pull/247 It seems like custom fonts are only supported as long as they're system fonts.
I'm interested in this as well.
Still looking for solutions
This is now supported in the Payment Sheet in v0.11.0 🔠
Reopening- is there desire for this in the components like CardField and CardForm? Or does the Payment Sheet integration suit everyone's needs here?
Would absolutely love for it to be in CardField and CardForm. We don't use Payment Sheet
@dqii can I ask why Payment Sheet doesn't work for your use case? It would help us in making improvements to Payment Sheet :)
I think purely cosmetic reasons. We wanted more flexibility with the design... we wanted payment method to be provided "inline" for example @charliecruzan-stripe
👍 fair enough, that makes sense
closed in https://github.com/stripe/stripe-react-native/pull/1150
@charliecruzan-stripe sorry could this be reopened? I think @perqin's diff only added support for Android
It seems that custom font is already supported on iOS.
@charliecruzan-stripe Is it supported? Last I had heard, this was a blocker to supporting custom fonts on iOS: https://github.com/stripe/stripe-ios/issues/1932
If you're looking for custom font control on iOS, I'd recommend either CardField, or the Payment Sheet :) I'm not sure about the timeline for adding this to CardForm so it could take a while
Oh I use CardField. I didn't realize it was supported there! Thank you. :)