Popconfirm: Add popconfirm component (#17548)

* init

* init

* init docs

* init docs2

* init type

* update test

* update naming
This commit is contained in:
iamkun
2019-10-31 15:05:41 +08:00
committed by Zhi Cun
parent df3562d905
commit 2842399eb7
66 changed files with 631 additions and 2 deletions

29
types/popconfirm.d.ts vendored Normal file
View File

@@ -0,0 +1,29 @@
import { ElementUIComponent } from './component'
import { ElPopover } from './popover'
/** Popconfirm Component */
export declare class ElPopconfirm extends ElPopover {
/** Popconfirm title */
title: string
/** Popconfirm ok text */
confirmButtonText: string
/** Popconfirm cancel text */
cancelButtonText: string
/** Popconfirm ok type */
confirmButtonType: string
/** Popconfirm cancal type */
cancelButtonType: string
/** Popconfirm icon */
icon: string
/** Popconfirm icon color */
iconColor: string
/** Popconfirm hide icon */
hideIcon: boolean
}