完成d.ts定义的优化
This commit is contained in:
parent
6da055f33f
commit
414730dde3
61 changed files with 353 additions and 382 deletions
20
types/icon.d.ts
vendored
Normal file
20
types/icon.d.ts
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
// Type definitions for iview 3.0.1
|
||||
// Project: https://github.com/iview/iview
|
||||
// Definitions by: yangdan
|
||||
// Definitions: https://github.com/yangdan8/iview.git
|
||||
import Vue, { VNode } from "vue";
|
||||
|
||||
export declare class Icon extends Vue {
|
||||
/**
|
||||
* 图标的名称
|
||||
*/
|
||||
type?: string;
|
||||
/**
|
||||
* 图标的大小,单位是 px
|
||||
*/
|
||||
size?: number | string;
|
||||
/**
|
||||
* 图标的颜色
|
||||
*/
|
||||
color?: string;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue