@hi-ui/avatar
TypeScript icon, indicating that this package has built-in type declarations

4.0.8 • Public • Published

@hi-ui/avatar

TODO: description

Usage

const Avatar = require('@hi-ui/avatar');

// TODO: DEMONSTRATE API
参数 说明 类型 可选值 默认值
icon 设置头像图标 ReactNode - -
size 设置头像大小 string 'sm' | 'md' | 'lg' |'xs'|'xl' 'md'
initials 是否显示边框 string -
shape 设置头像形状 string 'square' | 'circle' 'circle'
src 设置头像图片链接 string - -

Readme

Keywords

none

Package Sidebar

Install

npm i @hi-ui/avatar

Weekly Downloads

13

Version

4.0.8

License

MIT

Unpacked Size

18.5 kB

Total Files

11

Last publish

Collaborators

  • sivan
  • solarjoker