Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

353 B
Raw Blame
import { Layers, Table2 } from "lucide-react";
import type { NavigatorTreeNode } from "../types";

interface PrefixProps {
  node: NavigatorTreeNode;
}

export function Prefix({ node }: PrefixProps) {
  if (node.type === "schema") return <Layers className="size-4" />;
  if (node.type === "table") return <Table2 className="size-4" />;
  return null;
}