Skip to content

Commit efb94fa

Browse files
Add support for MADA
- Add MADA support - add the option to hide the scheme icon and automatically hide it for empty inputs - Extend the type checking with the special Discover card for Sandbox - Update card validation dependencies
1 parent 879b994 commit efb94fa

File tree

7 files changed

+22987
-69
lines changed

7 files changed

+22987
-69
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,11 @@ export default function App() {
6363
alert(e.token);
6464
}}
6565
>
66-
<CardNumber style={styles.cardNumber} placeholderTextColor="#9898A0" />
66+
<CardNumber
67+
style={styles.cardNumber}
68+
placeholderTextColor="#9898A0"
69+
// showIcon={false} in case you don't want to see the card scheme logo
70+
/>
6771

6872
<View style={styles.dateAndCode}>
6973
<ExpiryDate

0 commit comments

Comments
 (0)