feat : add redux

This commit is contained in:
alij
2024-06-16 01:24:40 +04:30
parent 2a8a2b6c71
commit db5840e0b7
5 changed files with 116 additions and 2 deletions

12
src/types/props.d.ts vendored
View File

@@ -57,6 +57,7 @@ import React, {
ReactNode,
SetStateAction,
} from "react";
import { FormikProps } from "formik";
export type TutorialList = { id: number; name: string }[];
@@ -135,3 +136,14 @@ export interface ProgressSpaceProps {
startSpace: number;
endSpace: number | "ultimate";
}
export interface LoginFormValues {
mobile: string;
email: string;
mobileCode: string;
emailPassword: string;
}
export interface LoginFromikProps {
formik: FormikProps<LoginFormValues>;
}

0
src/types/type.d.ts vendored Normal file
View File