iview/types/avatar.d.ts

30 lines
691 B
TypeScript
Raw Normal View History

2018-08-30 13:27:15 +08:00
// Type definitions for iview 3.0.1
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
2018-08-30 16:45:58 +08:00
import Vue from 'vue';
2018-08-30 13:27:15 +08:00
export declare class Avatar extends Vue {
/**
* circlesquare
* @default circle
*/
shape?: 'circle' | 'square';
/**
* largesmalldefault
* @default default
*/
size?: 'large'|'small'|'default';
/**
*
*/
src?: string;
/**
* Icon
*/
icon?: string;
/**
*
*/
'custom-icon'?: string;
}