Skip to content

Conversation

@chenshuai2144
Copy link
Contributor

No description provided.

@chenshuai2144 chenshuai2144 changed the title _internalRenderSubMenuItem and _internalRenderMenuItem support selected feat_internalRenderSubMenuItem and _internalRenderMenuItem support selected Jan 17, 2022
@chenshuai2144 chenshuai2144 changed the title feat_internalRenderSubMenuItem and _internalRenderMenuItem support selected feat: _internalRenderSubMenuItem and _internalRenderMenuItem support selected Jan 17, 2022
@codecov
Copy link

codecov bot commented Jan 17, 2022

Codecov Report

Merging #432 (a6df6fe) into master (d6b1eb0) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #432   +/-   ##
=======================================
  Coverage   99.84%   99.84%           
=======================================
  Files          25       25           
  Lines         651      651           
  Branches      168      169    +1     
=======================================
  Hits          650      650           
  Misses          1        1           
Impacted Files Coverage Δ
src/Menu.tsx 100.00% <ø> (ø)
src/MenuItem.tsx 100.00% <100.00%> (ø)
src/SubMenu/index.tsx 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d6b1eb0...a6df6fe. Read the comment docs.

@chenshuai2144 chenshuai2144 merged commit 0256d8b into master Jan 17, 2022
@chenshuai2144 chenshuai2144 deleted the selected branch January 17, 2022 03:08
if (_internalRenderSubMenuItem) {
listNode = _internalRenderSubMenuItem(listNode, props);
listNode = _internalRenderSubMenuItem(listNode, props, {
selected: childrenSelected,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

props 里没有 selected 么

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants