import { ChevronDownIcon, RefreshIcon, TrashIcon } from "@lume/icons"; import { cn } from "@lume/utils"; import * as DropdownMenu from "@radix-ui/react-dropdown-menu"; import { getCurrent } from "@tauri-apps/api/window"; export function ColumnHeader({ id, name, className, }: { id: number; name: string; className?: string; }) { const reload = () => { window.location.reload(); }; const close = async () => { const mainWindow = getCurrent(); await mainWindow.emit("columns", { type: "remove", id }); }; return (
Reload Close
); }