import type { TableOption } from "../table/type"; export interface CrudOption extends TableOption { modalWidth?: number | string; addBtn?: boolean; addBtnText?: string; editBtn?: boolean; editBtnText?: string; delBtn?: boolean; delBtnText?: string; viewBtn?: boolean; viewBtnText?: string; detailSpan?: number; detailLayout?: 'horizontal' | 'vertical' | 'inline-horizontal' | 'inline-vertical'; } export type TableMenu = "add" | "edit" | 'view';