feat : add code verifaction for authorization
This commit is contained in:
13
src/types/props.d.ts
vendored
13
src/types/props.d.ts
vendored
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user