feat : add code verifaction for authorization

This commit is contained in:
ali josheghani
2024-06-04 00:07:41 +03:30
parent 0f5b867d21
commit 6b68dee958
6 changed files with 77 additions and 14 deletions

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

@@ -66,18 +66,18 @@ export type LearnProps = {
};
// begin TypeWriter.tsx
interface TypewriterProps {
export interface TypewriterProps {
text: string;
speed?: number; // سرعت تایپ در میلی‌ثانیه
}
interface ButtonListProps {
export interface ButtonListProps {
ProductsList: { id: number; title: string }[];
activeId: number;
setActiveId: SetStateAction;
}
interface ProductBoxProps {
export interface ProductBoxProps {
title: string;
space: number;
users: number;
@@ -86,7 +86,7 @@ interface ProductBoxProps {
variant: number;
}
interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
label: string;
id?: string;
type: string;
@@ -94,3 +94,8 @@ interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
placeholder?: string;
extra?: string;
}
export interface MuiModalProps {
isOpenModal: boolean;
setIsOpenModal:SetStateAction
}