浏览代码

TableAction确认框增加placement属性 (#1335)

* chore: table size放到settings

* chore(TableAction): 操作确认框增加placement属性支持
Joyboo 3 年之前
父节点
当前提交
c8dd3b6c14
共有 1 个文件被更改,包括 13 次插入0 次删除
  1. 13 0
      src/components/Table/src/types/tableAction.ts

+ 13 - 0
src/components/Table/src/types/tableAction.ts

@@ -23,4 +23,17 @@ export interface PopConfirm {
   confirm: Fn;
   cancel?: Fn;
   icon?: string;
+  placement?:
+    | 'top'
+    | 'left'
+    | 'right'
+    | 'bottom'
+    | 'topLeft'
+    | 'topRight'
+    | 'leftTop'
+    | 'leftBottom'
+    | 'rightTop'
+    | 'rightBottom'
+    | 'bottomLeft'
+    | 'bottomRight';
 }