mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-02 04:08:10 +08:00
6f9ce3accb
* add avatar component * 1. add test 2. add types 3. refine doc 4. add img attr * add props in types and doc * refine how image fit its container * fix doc * refine doc * change default background color * remote style demo from doc * add theme * add demo on theme preview and change var name
21 lines
285 B
TypeScript
21 lines
285 B
TypeScript
import { ElementUIComponent } from './component'
|
|
|
|
/** Avatar Component */
|
|
export declare class ElAvatar extends ElementUIComponent {
|
|
icon: string;
|
|
|
|
size: string | number;
|
|
|
|
shape: string;
|
|
|
|
src: string;
|
|
|
|
error: () => false;
|
|
|
|
srcSet: string;
|
|
|
|
alt: string;
|
|
|
|
fit: string;
|
|
}
|