Initial commit
This commit is contained in:
13
src/types/images.d.ts
vendored
Normal file
13
src/types/images.d.ts
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
declare module '*.png' {
|
||||
const value: any;
|
||||
export default value;
|
||||
}
|
||||
declare module '*.jpeg' {
|
||||
const value: any;
|
||||
export default value;
|
||||
}
|
||||
|
||||
declare module '*.lottie' {
|
||||
const value: any;
|
||||
export default value;
|
||||
}
|
||||
21
src/types/react-native-smooth-pincode-input.d.ts
vendored
Normal file
21
src/types/react-native-smooth-pincode-input.d.ts
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
declare module 'react-native-smooth-pincode-input' {
|
||||
import { Component } from 'react';
|
||||
import { TextStyle, ViewStyle } from 'react-native';
|
||||
|
||||
interface SmoothPinCodeInputProps {
|
||||
value?: string;
|
||||
codeLength?: number;
|
||||
cellSize?: number;
|
||||
cellSpacing?: number;
|
||||
password?: boolean;
|
||||
mask?: string;
|
||||
onTextChange?: (code: string) => void;
|
||||
containerStyle?: ViewStyle;
|
||||
cellStyle?: ViewStyle;
|
||||
cellStyleFocused?: ViewStyle;
|
||||
textStyle?: TextStyle;
|
||||
textStyleFocused?: TextStyle;
|
||||
}
|
||||
|
||||
export default class SmoothPinCodeInput extends Component<SmoothPinCodeInputProps> {}
|
||||
}
|
||||
4
src/types/react-native.d.ts
vendored
Normal file
4
src/types/react-native.d.ts
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
declare module 'react-native/Libraries/Image/resolveAssetSource' {
|
||||
const resolveAssetSource: (source: any) => { uri: string };
|
||||
export default resolveAssetSource;
|
||||
}
|
||||
18
src/types/types.ts
Normal file
18
src/types/types.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
export type RootStackParamList = {
|
||||
Splash: undefined;
|
||||
Login: undefined;
|
||||
Register?: { termsAccepted?: boolean };
|
||||
Home: undefined;
|
||||
Onboarding: undefined;
|
||||
'select-auth': undefined;
|
||||
TermsAndConditions: undefined;
|
||||
Confirm: undefined;
|
||||
'create-password': undefined;
|
||||
Passports: undefined;
|
||||
Wallet: undefined;
|
||||
PaymentMethod: undefined;
|
||||
EnterCard: { selectedId: 'click' | 'payme' | null };
|
||||
PaymentQrCode: undefined;
|
||||
Settings: undefined;
|
||||
Notifications: undefined;
|
||||
};
|
||||
Reference in New Issue
Block a user