-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Update index.zh.md #6419
base: master
Are you sure you want to change the base?
Update index.zh.md #6419
Conversation
Correct type TreeSelection's property 'label'.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6419 +/- ##
=======================================
Coverage 92.10% 92.10%
=======================================
Files 316 316
Lines 6861 6861
Branches 1719 1719
=======================================
Hits 6319 6319
Misses 504 504
Partials 38 38 ☔ View full report in Codecov by Sentry. |
PR preview has been successfully built and deployed to https://antd-mobile-preview-pr-6419.surge.sh |
@@ -16,7 +16,7 @@ | |||
|
|||
```typescript | pure | |||
type TreeSelectOption = { | |||
label: string | |||
label: string | JSX.Element |
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.
label: string | JSX.Element | |
label: React.ReactNode |
修正下tree-select里面option的类型,label实际可拓展为jsx element