react-component / react-component/tree-select
Add support for multiple, custom icons within the label portion
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 312
- Forks
- 204
- Avg merge
- 37m
- Merged PRs (30d)
- 1
Description
For UIs that I need to build, support for adding multiple, custom icons within the label portion is needed, in additional to having (for example) the checkbox. Sometimes the icon(s) need to appear before the label, while other times multiple icons need to appear after the label. It would also be helpful to support aligning the icons at the right edge of the tree, or having them render after the label.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Start by locating the TreeSelect label-rendering entry point and reviewing how labels and the existing checkbox are composed; clarify the API for icon order and right-edge alignment. Done means multiple custom icons can render before or after labels, including the requested right-edge behavior, with coverage for those placements.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100