You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`[nzIcon]`| The `Icon` type for an icon avatar, see `Icon`|`string`| - |
16
+
|`[nzShape]`| The shape of avatar |`'circle' \| 'square'`|`'circle'`| ✅ |
17
+
|`[nzSize]`| The size of the avatar |`'large' \| 'small' \| 'default' \| number`|`'default'`| ✅ |
18
+
|`[nzGap]`| Letter type unit distance between left and right sides |`number`|`4`| ✅ |
19
+
|`[nzSrc]`| Avatar image URL |`string`| - |
20
+
|`[nzSrcSet]`| a list of sources to use for different screen resolutions |`string`| - |
21
+
|`[nzAlt]`| This attribute defines the alternative text describing the image |`string`| - |
22
+
|`[nzText]`| Letter type avatar |`string`| - |
23
+
|`[nzLoading]`| Sets the native [`loading`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/img#loading) attribute on the avatar image element |`'eager' \| 'lazy'`|`'eager'`||
24
+
|`[nzFetchPriority]`| Sets the native [`fetchpriority`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/img#fetchpriority) attribute on the avatar image element |`'high' \| 'low' \| 'auto'`|`'auto'`||
25
+
|`(nzError)`| Handler when img load error, call the `preventDefault` method to prevent default fallback behavior |`EventEmitter<Event>`| - |
0 commit comments