Commit c8dd3b6c144a06597ad34de3c8b9ee0c7fb214ff

Authored by Joyboo
Committed by GitHub
1 parent 9999650a

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

* chore: table size放到settings

* chore(TableAction): 操作确认框增加placement属性支持
src/components/Table/src/types/tableAction.ts
... ... @@ -23,4 +23,17 @@ export interface PopConfirm {
23 23 confirm: Fn;
24 24 cancel?: Fn;
25 25 icon?: string;
  26 + placement?:
  27 + | 'top'
  28 + | 'left'
  29 + | 'right'
  30 + | 'bottom'
  31 + | 'topLeft'
  32 + | 'topRight'
  33 + | 'leftTop'
  34 + | 'leftBottom'
  35 + | 'rightTop'
  36 + | 'rightBottom'
  37 + | 'bottomLeft'
  38 + | 'bottomRight';
26 39 }
... ...