{"meta":"<h2 id=\"Develop Guide\">Develop Guide <a class=\"header-anchor scroll-count-item\" href=\"#Develop Guide\" data-scroll-id=\"Develop Guide\">#</a></h2>\n<p>1.19.0+ supported</p>\n<h3 id=\"When To Use\">When to Use <a class=\"header-anchor scroll-count-item\" href=\"#When To Use\" data-scroll-id=\"When To Use\">#</a></h3>\n<p>Avatars can be used to represent people or objects. It supports images, Icons, or letters.</p>\n","api":"<h2 id=\"API\">API <a class=\"header-anchor scroll-count-item\" href=\"#API\" data-scroll-id=\"API\">#</a></h2>\n<h3 id=\"Avatar\">Avatar <a class=\"header-anchor scroll-count-item\" href=\"#Avatar\" data-scroll-id=\"Avatar\">#</a></h3>\n<table>\n<thead>\n<tr>\n<th>Param</th>\n<th>Description</th>\n<th>Type</th>\n<th>Default Value</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>children</td>\n<td>Children node list</td>\n<td>React.ReactNode</td>\n<td>-</td>\n<td></td>\n</tr>\n<tr>\n<td>size</td>\n<td>The size of the avatar</td>\n<td>&apos;small&apos; | &apos;medium&apos; | &apos;large&apos; | number</td>\n<td>&apos;medium&apos;</td>\n<td></td>\n</tr>\n<tr>\n<td>shape</td>\n<td>The shape of the avatar</td>\n<td>&apos;circle&apos; | &apos;square&apos;</td>\n<td>&apos;circle&apos;</td>\n<td></td>\n</tr>\n<tr>\n<td>icon</td>\n<td>The icon type of the icon avatar, can be set to the <code>type</code> or <code>ReactElement</code> of Icon</td>\n<td>React.ReactElement | string</td>\n<td>-</td>\n<td></td>\n</tr>\n<tr>\n<td>src</td>\n<td>The resource address of the image avatar</td>\n<td>string</td>\n<td>-</td>\n<td></td>\n</tr>\n<tr>\n<td>onError</td>\n<td>The event of the image loading failure, returning false will close the component&apos;s default fallback behavior</td>\n<td>() =&gt; boolean</td>\n<td>-</td>\n<td></td>\n</tr>\n<tr>\n<td>imgProps</td>\n<td>The other properties of the image</td>\n<td>Omit&lt;<br> React.ImgHTMLAttributes&lt;HTMLImageElement&gt;,<br> &apos;src&apos; | &apos;srcSet&apos; | &apos;onError&apos; | &apos;alt&apos;<br> &gt;</td>\n<td>-</td>\n<td></td>\n</tr>\n<tr>\n<td>alt</td>\n<td>The alt replacement text when the image cannot be displayed</td>\n<td>string</td>\n<td>-</td>\n<td></td>\n</tr>\n<tr>\n<td>srcSet</td>\n<td>The responsive resource address of the image avatar</td>\n<td>string</td>\n<td>-</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n"}