fix: move typings

This commit is contained in:
Arvid Norlin
2024-04-22 14:04:20 +02:00
parent dff21b33cd
commit 7b92be973c
10 changed files with 43 additions and 56 deletions

View 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 }
}

View File

@@ -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 = {

View File

@@ -1,5 +1,5 @@
export type HeaderProps = {
title: string
subtitle?: string
link: { href: string; text: string } | null
link?: { href: string; text: string }
}