提交 | 用户 | age | ||
de499a | 1 | import { ButtonProps } from 'ant-design-vue/es/button/buttonTypes'; |
V | 2 | export interface ActionItem extends ButtonProps { |
746d4a | 3 | onClick?: any; |
faf3f4 | 4 | label: string; |
陈 | 5 | color?: 'success' | 'error' | 'warning'; |
6 | icon?: string; | |
7 | popConfirm?: PopConfirm; | |
8 | } | |
9 | ||
10 | export interface PopConfirm { | |
11 | title: string; | |
12 | okText?: string; | |
13 | cancelText?: string; | |
14 | confirm: any; | |
15 | cancel?: any; | |
16 | icon?: string; | |
17 | } |