We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Icon除了支持ReactNode以外还能支持(props)=>ReactNode
我是在做一个文件在线浏览的一个web应用,所以icon希望能根据文件扩展名来变换展示,比如.js的文件展示js的图标,py的文件展示py的图标。
我可以根据props带参来判断文件格式决定返回什么Icon,但是目前发现Semi.design的Icon只能传ReactNode,希望还是支持下
The text was updated successfully, but these errors were encountered:
v2.59.0-beta.0
Sorry, something went wrong.
No branches or pull requests
Which Component Need Enhancement 期望新增功能的组件
What does the proposed API look like 期望支持的API
Icon除了支持ReactNode以外还能支持(props)=>ReactNode
Feature Description 功能描述
我是在做一个文件在线浏览的一个web应用,所以icon希望能根据文件扩展名来变换展示,比如.js的文件展示js的图标,py的文件展示py的图标。
我可以根据props带参来判断文件格式决定返回什么Icon,但是目前发现Semi.design的Icon只能传ReactNode,希望还是支持下
Additional information 补充说明
The text was updated successfully, but these errors were encountered: