UNPKG

@dineug/erd-editor

Version:

Entity-Relationship Diagram Editor

8 lines (7 loc) 377 B
import { FocusType } from '../../../../engine/modules/editor/state'; import { Ctx } from '../../../../internal-types'; export declare function useFocusTable(ctx: Ctx, tableId: string): { hasFocus: (focusType: FocusType, columnId?: string) => boolean; hasEdit: (focusType: FocusType, columnId?: string) => boolean; hasSelectColumn: (columnId: string) => boolean; };