import type { TabKey } from "../../types";
interface HeaderProps {
activeTab: TabKey;
onTabChange: (tab: TabKey) => void;
}
export function Header({ activeTab, onTabChange }: HeaderProps) {
return (
TrustGraph
CONTEXT GRAPH DEMO
{(["graph", "query", "explain", "data", "ontology"] as const).map((tab) => {
const labels: Record = {
graph: "◈ Context Graph",
query: "⚡ Agent Query",
explain: "◉ Explain",
data: "▤ Table Explorer",
ontology: "◇ Ontology",
};
return (
);
})}
);
}