react-component / react-component/tree-select

Add support for multiple, custom icons within the label portion

Open
#161 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.