react-component / react-component/menu

How to customize the selected menu item

Open
#327 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
701
Forks
266
Avg merge
4d 11h
Merged PRs (30d)
3

Description

I'm using rc-menu with rc-dropdown in electron.

Is there a way to customize the selected menu item, such as the style and the selected icon.

屏幕快照 2020-06-27 下午7 11 30

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

The issue concerns rc-menu used with rc-dropdown in Electron, but it names no source file or test. Start by checking rc-menu's selected-item options and related usage examples; done means establishing whether the selected item's style and icon can be customized and documenting or supporting that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, react, typescript
Domain
desktop, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.