diff options
| author | 2023-11-03 21:13:33 +0800 | |
|---|---|---|
| committer | 2023-11-03 21:13:33 +0800 | |
| commit | 9f0d43fe099a95ab1516ae951dcb60a89e76a5a5 (patch) | |
| tree | 51614fe47bff8bb11028a07d4a35c34c9ff6594a /docs/components/LogoContext/types.ts | |
| parent | 8f135707d069c900e055dae71e69909d6b9a41bb (diff) | |
| download | HydroRoll-9f0d43fe099a95ab1516ae951dcb60a89e76a5a5.tar.gz HydroRoll-9f0d43fe099a95ab1516ae951dcb60a89e76a5a5.zip | |
chore: delete useless codes
Diffstat (limited to 'docs/components/LogoContext/types.ts')
| -rw-r--r-- | docs/components/LogoContext/types.ts | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/docs/components/LogoContext/types.ts b/docs/components/LogoContext/types.ts deleted file mode 100644 index ff7f644..0000000 --- a/docs/components/LogoContext/types.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { ReactNode } from "react"; -import { TurboSite } from "../SiteSwitcher"; - -type MenuItemType = "internal" | "external" | "copy"; - -export interface MenuItemProps extends ContextItem { - closeMenu?: () => void; - className?: string; -} - -export interface ContextList { - theme: string; - site: TurboSite; -} - -export interface ContextItem { - name: string; - "aria-label": string; - disabled?: boolean; - type: MenuItemType; - children: ReactNode; - prefix: ReactNode; - href?: string; - onClick?: () => void; -} |
