Skip to content

feat(react): add slot ability#4259

Merged
janryWang merged 1 commit intoalibaba:formily_nextfrom
nicetooo:feat/slot
Mar 28, 2025
Merged

feat(react): add slot ability#4259
janryWang merged 1 commit intoalibaba:formily_nextfrom
nicetooo:feat/slot

Conversation

@nicetooo
Copy link
Contributor

@nicetooo nicetooo commented Jan 12, 2025

Before submitting a pull request, please make sure the following is done...

  • Ensure the pull request title and commit message follow the Commit Specific in English.
  • Fork the repo and create your branch from master or formily_next.
  • If you've added code that should be tested, add tests!
  • If you've changed APIs, update the documentation.
  • Ensure the test suite passes (npm test).
  • Make sure your code lints (npm run lint) - we've done our best to make sure these rules match our internal linting guidelines.

Please do not delete the above content


What have you changed?

新增slot相关属性

x-slot: Slot节点标记,文档已补充

新增渲染能力

RecursionField: 新增slot属性检查及渲染能力

功能

  • 实现渲染一个节点到兄弟节点的prop做为参数
  • 支持在用纯schema场景使用组件的ReactNode prop和Render prop
  • 强化SchemaField动态化场景渲染能力

@nicetooo nicetooo force-pushed the feat/slot branch 3 times, most recently from c8d8312 to 7bcfa58 Compare January 24, 2025 05:57
@janryWang janryWang merged commit 123d536 into alibaba:formily_next Mar 28, 2025
6 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