Initial commit

This commit is contained in:
Samandar Turgunboyev
2025-08-26 16:26:59 +05:00
commit fd95422447
318 changed files with 38301 additions and 0 deletions

13
src/types/images.d.ts vendored Normal file
View 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;
}

View 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
View 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
View 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;
};