Avatar

Use and Import

import Avatar from 'nes-design/es/Avatar';   OR   import { Avatar } from 'nes-design';
Copy

Case

Src

Round

Size

Props

Prop / 参数Description / 描述Type / 类型Default / 默认值
srcavatar img src attribute / src 属性string-
sizeavatar size'large' | 'medium' | 'small'-
roundavatar shapeboolean-
...restmore attributeReact.HTMLAttributes<HTMLSpanElement>-