DouyinFE / semi-design

🚀A modern, comprehensive, flexible design system and React UI library. 🎨 Provide more than 3000+ Design Tokens, easy to build your design system. Make Semi Design to Any Design. 🧑🏻‍💻 Design to Code in one click
https://semi.design
Other
8.44k stars 712 forks source link

[Avatar] 自定义头像大小时ts类型检测错误 #2446

Closed xggz closed 1 month ago

xggz commented 2 months ago

Which Component Need Enhancement 期望新增功能的组件

Feature Description 功能描述

image

Additional information 补充说明

Avatar支持传入自定义大小,但是这个AvatarSize类型传入大小时ts提示错误,强迫症看着红色波浪线有点难受。。。 image

YannLynn commented 2 months ago

@xggz 我们改一下哦

YyumeiZhang commented 1 month ago

image