feat : formating code by prettier
This commit is contained in:
11
src/types/props.d.ts
vendored
11
src/types/props.d.ts
vendored
@@ -35,9 +35,6 @@ export interface MobileMenuButtonProps {
|
||||
onClick: () => void;
|
||||
}
|
||||
|
||||
// begin NavbarLink.tsx
|
||||
import { NavLinkProps } from "react-router-dom";
|
||||
|
||||
export interface NavbarLinkProps {
|
||||
to: string;
|
||||
children: React.ReactNode;
|
||||
@@ -52,7 +49,6 @@ export interface NavData {
|
||||
// begin ListTutorial.tsx
|
||||
import React, {
|
||||
ButtonHTMLAttributes,
|
||||
Component,
|
||||
Dispatch,
|
||||
InputHTMLAttributes,
|
||||
ReactNode,
|
||||
@@ -130,6 +126,8 @@ export interface ConfigItemProps {
|
||||
textCopy: string;
|
||||
maxTraffic: number | "unlimited";
|
||||
traffic: number;
|
||||
type: string;
|
||||
categoryId: number;
|
||||
}
|
||||
|
||||
// نوع Item برای آیتمهای داخل Dropdown
|
||||
@@ -203,6 +201,8 @@ type Config = {
|
||||
show_traffic: boolean;
|
||||
max_traffic: number;
|
||||
traffic: number;
|
||||
type: string;
|
||||
category_id: number;
|
||||
};
|
||||
|
||||
// تعریف تایپ دادههای برگشتی
|
||||
@@ -225,7 +225,8 @@ interface ProfileDetailsProps {
|
||||
isLoading: boolean;
|
||||
isFetching: boolean;
|
||||
error: Error | AxiosError | null;
|
||||
userTitle: string;
|
||||
userTitle?: string;
|
||||
categoryId?: number;
|
||||
}
|
||||
|
||||
interface ScrollLinkProps {
|
||||
|
||||
Reference in New Issue
Block a user