UNPKG

@dineug/erd-editor

Version:

Entity-Relationship Diagram Editor

30 lines (29 loc) 845 B
import { FC, Ref } from '@dineug/r-html'; import { AppContext } from '../../../../appContext'; import { Column } from '../../../../../internal-types'; export type ColumnProps = { app: Ref<AppContext>; column: Column; selected: boolean; widthName: number; widthDataType: number; widthDefault: number; widthComment: number; focusName: boolean; focusDataType: boolean; focusNotNull: boolean; focusDefault: boolean; focusComment: boolean; focusUnique: boolean; focusAutoIncrement: boolean; editName: boolean; editDataType: boolean; editDefault: boolean; editComment: boolean; draggable?: boolean; ghost?: boolean; onDragstart?: (event: DragEvent) => void; onDragend?: (event: DragEvent) => void; }; declare const Column: FC<ColumnProps>; export default Column;