返回 DeepSeek-Reasonix
dockEntryIcons.tsx
根目录 / desktop / frontend / src / components / dockEntryIcons.tsx
1 // Icons for the dock's entry points, shared by the floating launcher and the
2 // tab picker. Kept out of lib/dockEntries so that module stays icon-free for
3 // the synchronous composition imports; both consumers here are lazy.
4 import { Activity, FileDiff, FileText } from "lucide-react";
5 import type { ComponentType } from "react";
6 import type { TabType } from "../store/activityBar";
7
8 export const DOCK_ENTRY_ICONS: Record<TabType, ComponentType<{ size?: number | string; className?: string }>> = {
9 file: FileText,
10 changed: FileDiff,
11 context: Activity,
12 remote: FileText,
13 browser: FileText,
14 };
15
15 lines Plain Text