Просмотр исходного кода

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

* chore: table size放到settings

* chore(TableAction): 操作确认框增加placement属性支持
Joyboo 3 лет назад
Родитель
Сommit
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';
 }