stripe-react-native
stripe-react-native copied to clipboard
Multiple customizable inputs
Is your feature request related to a problem? Please describe.
How can Stripe, as powerful as it is, not offer the possibility of having separate and fully customizable inputs?
- Card number
- Expiry date
- CVC
Describe the solution you'd like For example there could be 3 components, like this:
<View>
<CardNumberElement
placeholder="1234 1234 1234 1234"
brandIconPosition="right"
style={{
borderWidth: 1,
borderColor: themeColors.borderColor,
// ...all style properties
}}
/>
<ExpirationDateElement
placeholder="MM / AA"
style={{
width: "50%",
borderWidth: 1,
borderColor: themeColors.borderColor,
// ...all style properties
}}
/>
<CVVElement
placeholder="CVV"
style={{
width: "50%",
borderWidth: 1,
borderColor: themeColors.borderColor,
// ...all style properties
}}
/>
</View>
Describe alternatives you've considered Honestly, quite a few other payment platforms offer this possibility and it would be a shame to leave stripe because of this problem.
Additional context