New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@hi-ui/avatar

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
h

@hi-ui/avatar

A sub-package for @hi-ui/hiui.

4.0.0-alpha.24
Version published
Weekly downloads
2
-60%
Maintainers
2
Weekly downloads
 
Created
Issues
77

@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--

FAQs

Package last updated on 19 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts