add title support in menu item #12952
Merged
Conversation
Deploy preview for ant-design ready! Built with commit 34d3091 |
原来的 title 好像就有用,设置原生的 tooltip 用。 |
Codecov Report
@@ Coverage Diff @@
## feature #12952 +/- ##
===========================================
+ Coverage 92.49% 92.57% +0.07%
===========================================
Files 221 221
Lines 5744 5747 +3
Branches 1666 1668 +2
===========================================
+ Hits 5313 5320 +7
+ Misses 426 422 -4
Partials 5 5
Continue to review full report at Codecov.
|
嗯,这边复用了一下。 |
components/menu/index.en-US.md
Outdated
@@ -55,6 +55,7 @@ More layouts with navigation: [layout](/components/layout). | |||
| ----- | ----------- | ---- | ------------- | | |||
| disabled | whether menu item is disabled or not | boolean | false | | |||
| key | unique id of the menu item | string | | | |||
| title | set display title for collaped item | string | | |
picodoth
Nov 7, 2018
Contributor
collaped => collapsed
collaped => collapsed
d366886
into
feature
23 checks passed
23 checks passed
security/snyk - package.json (paranoidjk)
No manifest changes detected
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Add
title
prop for Menu.Item to support customize title for the collapsed status.ref #11584
Update snapshot:
