Prechádzať zdrojové kódy

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

* chore: table size放到settings

* chore(TableAction): 操作确认框增加placement属性支持
Joyboo 3 rokov pred
rodič
commit
c8dd3b6c14

+ 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';
 }