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

feat: 添加FormItemRender组件 #8012

Merged
merged 1 commit into from
Jan 7, 2024

Conversation

hans000
Copy link
Contributor

@hans000 hans000 commented Dec 24, 2023

添加了一些可以更方便在业务中使用的组件,设计成render props的风格去劫持渲染函数的组件

  • FormControlRender
  • FormItemRender
  • ProFormItemRender
  • useControlModel

详细的使用也添加了演示例子

Copy link

github-actions bot commented Dec 24, 2023

😭 Deploy PR Preview failed.

@chenshuai2144
Copy link
Contributor

文档补充一下

@hans000
Copy link
Contributor Author

hans000 commented Dec 29, 2023

文档补充一下

里面有文档,放在ProForm下了
image

@chenshuai2144
Copy link
Contributor

测试覆盖率保障一下,太低了

Copy link

codecov bot commented Jan 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a2be303) 97.59% compared to head (8faa050) 97.60%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8012   +/-   ##
=======================================
  Coverage   97.59%   97.60%           
=======================================
  Files         299      300    +1     
  Lines        9427     9462   +35     
  Branches     3503     3511    +8     
=======================================
+ Hits         9200     9235   +35     
  Misses        209      209           
  Partials       18       18           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hans000
Copy link
Contributor Author

hans000 commented Jan 1, 2024

测试覆盖率保障一下,太低了

done
image

@hans000 hans000 force-pushed the feat/form-render branch 4 times, most recently from 3d0317e to 8faa050 Compare January 2, 2024 14:56
@chenshuai2144 chenshuai2144 merged commit bfd905e into ant-design:master Jan 7, 2024
10 checks passed
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