react-native-credit-cards
Version:
A customizable credit card form component for React Native with card flip animation and validation
47 lines (46 loc) • 1.07 kB
TypeScript
export declare const styles: {
container: {
flex: number;
};
input: {
borderWidth: number;
borderColor: string;
padding: number;
borderRadius: number;
backgroundColor: string;
marginVertical: number;
};
inputCVC: {
justifyContent: "flex-end";
borderWidth: number;
borderColor: string;
padding: number;
borderRadius: number;
backgroundColor: string;
marginVertical: number;
width: number;
textAlign: "center";
};
inputMMYY: {
borderWidth: number;
textAlign: "center";
borderColor: string;
padding: number;
borderRadius: number;
backgroundColor: string;
marginVertical: number;
width: number;
};
disabledInput: {
backgroundColor: string;
};
errorInput: {
borderColor: string;
borderWidth: number;
};
errorText: {
color: string;
fontSize: number;
marginBottom: number;
};
};