@dineug/erd-editor
Version:
Entity-Relationship Diagram Editor
18 lines (17 loc) • 575 B
TypeScript
import { FC, Ref } from '@dineug/r-html';
import { ValuesType } from '../../../internal-types';
export declare const ErdContextMenuType: {
readonly ERD: "ERD";
readonly table: "table";
readonly relationship: "relationship";
};
export type ErdContextMenuType = ValuesType<typeof ErdContextMenuType>;
export type ErdContextMenuProps = {
type: ErdContextMenuType;
canvas: Ref<HTMLDivElement>;
relationshipId?: string;
tableId?: string;
onClose: () => void;
};
declare const ErdContextMenu: FC<ErdContextMenuProps>;
export default ErdContextMenu;