ant-design / ant-design/pro-components
👑 [需求] MenuDataItem的icon能不能使用自定义的图标
Open
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
### 🔩 所属模块或组件
### 🥰 需求描述
目前MenuDataItem的icon只能使用antd和iconFront的图标,能否直接传入组件
### ⛰ 功能需求适用场景
### 🧐 解决方案
### 🚑 其他信息
Contributor guide
Research direction
Start by locating the MenuDataItem type and the menu component that consumes its icon field. Review how the current Ant Design and iconFont options are represented, then define completion as accepting a custom component without breaking existing icon usage; no specific file or test is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100