forked from sonnylazuardi/react-native-credit-card
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.d.ts
43 lines (38 loc) · 1.02 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
declare module 'react-native-credit-card-v2'
{
import {
StyleProp,
ViewStyle,
ImageStyle,
ImageSourcePropType
} from 'react-native';
export type CreditCardProps = {
number?: string | number;
cvc?: string;
name?: string;
expiry?: string;
focused?: string;
expiryBefore?: string;
expiryAfter?: string;
shinyAfterBack?: string,
shiny?: boolean;
bar?: boolean;
type?: string;
width?: number;
height?: number;
bgColor?: string;
clickable?: boolean;
mainContainerStyle?: StyleProp<ViewStyle>;
frontImageStyle?: StyleProp<ViewStyle>;
frontImageBgStyle?: StyleProp<ImageStyle>;
backImageBgStyle?: StyleProp<ImageStyle>;
backImageStyle?: StyleProp<ImageStyle>;
imageFront?: ImageSourcePropType;
imageBack?: ImageSourcePropType;
fullNameText?: string;
showExpiryAfterLabel?: boolean;
cardTypeImages?: Record<string, ImageSourcePropType>;
}
export default class CreditCard extends React.Component<CreditCardProps, any> {
}
}