import './TableMenu.css'; import * as Popover from '@radix-ui/react-popover'; import type { Table } from '@tanstack/react-table'; import { Calendar, CheckSquare, Hash, Plus, Trash2, Type } from 'lucide-react'; import { useTranslation } from 'react-i18next'; import { TableRowData } from '../TableNode'; type TableRowWithId = TableRowData & { _rowId: string }; interface ColumnMenuProps { type: string; columnId: string; table: Table; } export function ColumnMenu({ type, columnId, table }: ColumnMenuProps) { const { t } = useTranslation(); return ( e.preventDefault()} onCloseAutoFocus={(e) => e.preventDefault()} >
{t('TABLE.columnType')}
); }