Skip to content

type: pass-through cascader option generic type#43231

Merged
afc163 merged 1 commit intoant-design:masterfrom
ZWkang:hotfix/cascader-types
Jun 27, 2023
Merged

type: pass-through cascader option generic type#43231
afc163 merged 1 commit intoant-design:masterfrom
ZWkang:hotfix/cascader-types

Conversation

@ZWkang
Copy link
Copy Markdown
Contributor

@ZWkang ZWkang commented Jun 27, 2023

[中文版模板 / Chinese template]

#43216

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Internationalization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Workflow
  • Other (about what?)

🔗 Related issue link

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English type: pass-through cascader option generic type
🇨🇳 Chinese type: 透传 cascader optionType 泛型

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

🚀 Summary

🤖 Generated by Copilot at 41c571f

Refactor cascader component to use rc-cascader and support custom option types. Change type parameters of cascader props to extend BaseOptionType.

🔍 Walkthrough

🤖 Generated by Copilot at 41c571f

  • Refactor cascader component to use rc-cascader package and improve performance and features (link, F0L250

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jun 27, 2023

@codecov
Copy link
Copy Markdown

codecov bot commented Jun 27, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (5df3097) 100.00% compared to head (41c571f) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##            master    #43231   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          648       648           
  Lines        10963     10963           
  Branches      2976      2976           
=========================================
  Hits         10963     10963           
Impacted Files Coverage Δ
components/cascader/index.tsx 100.00% <ø> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@afc163 afc163 merged commit f0059ce into ant-design:master Jun 27, 2023
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.

2 participants