MCPcopy Create free account
hub / github.com/Qinbf/groundmap / WorkspaceIndicator

Function WorkspaceIndicator

tools/debug-console/components/WorkspaceIndicator.tsx:15–30  ·  view source on GitHub ↗
({ value }: Props)

Source from the content-addressed store, hash-verified

13 * 与你在 web 浏览的库不一致。要换库,请回 web 顶栏切换后重新进入控制台。
14 */
15export function WorkspaceIndicator({ value }: Props) {
16 const t = useT();
17 if (!value) return null;
18 return (
19 <div className="flex flex-col gap-1">
20 <span className="k-eyebrow">{t("picker.workspace")}</span>
21 <span
22 className="k-input inline-flex cursor-default items-center select-none text-[var(--paper-dim)]"
23 title={t("picker.workspace_tip")}
24 aria-label={t("picker.workspace")}
25 >
26 {value}
27 </span>
28 </div>
29 );
30}

Callers

nothing calls this directly

Calls 2

useTFunction · 0.90
tFunction · 0.50

Tested by

no test coverage detected