fix: move typings
This commit is contained in:
16
types/components/myPages/myPage/accountPage.ts
Normal file
16
types/components/myPages/myPage/accountPage.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { Lang } from "@/constants/languages"
|
||||
import { DynamicContent } from "@/types/requests/myPages/accountpage"
|
||||
import { User } from "@/types/user"
|
||||
|
||||
export type AccountPageContentProps = {
|
||||
content: DynamicContent
|
||||
lang: Lang
|
||||
user: User
|
||||
}
|
||||
|
||||
export type AccountPageComponentProps = {
|
||||
lang: Lang
|
||||
title: string
|
||||
subtitle?: string
|
||||
link?: { href: string; text: string }
|
||||
}
|
||||
@@ -1,5 +1,3 @@
|
||||
import { Shortcut } from "@/types/requests/myPages/accountpage"
|
||||
import { PageLink } from "@/types/requests/utils/pageLink"
|
||||
import { ReactNode } from "react"
|
||||
|
||||
export type ShortcutsProps = {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
export type HeaderProps = {
|
||||
title: string
|
||||
subtitle?: string
|
||||
link: { href: string; text: string } | null
|
||||
link?: { href: string; text: string }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user