-
-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support options #438
Conversation
Codecov Report
@@ Coverage Diff @@
## master #438 +/- ##
=======================================
Coverage 99.84% 99.85%
=======================================
Files 25 25
Lines 652 673 +21
Branches 169 175 +6
=======================================
+ Hits 651 672 +21
Misses 1 1
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
optionsMapper? |
|
这个 |
嗯,我是指 |
|
||
export default () => ( | ||
<Menu | ||
options={[ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
items?
提供一个
options
方法(可能名字不太好?),目前仅仅是将options
直接转换成 ReactNode。v5 后再重整这块。@afc163 @chenshuai2144
Update:
rename to
items