Files
outline/app/editor/menus/table.tsx
2022-01-19 18:43:15 -08:00

15 lines
369 B
TypeScript

import { TrashIcon } from "outline-icons";
import { MenuItem } from "@shared/editor/types";
import { Dictionary } from "~/hooks/useDictionary";
export default function tableMenuItems(dictionary: Dictionary): MenuItem[] {
return [
{
name: "deleteTable",
tooltip: dictionary.deleteTable,
icon: TrashIcon,
active: () => false,
},
];
}