Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

horseson2018
Copy link

修正下tree-select里面option的类型,label实际可拓展为jsx element

Correct type TreeSelection's property 'label'.
Copy link

codecov bot commented Oct 31, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f2e166d) 92.10% compared to head (3df6d39) 92.10%.

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.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

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
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
label: string | JSX.Element
label: React.ReactNode

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.

4 participants