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

descriptions如果包含的是子组件而不是DescriptionItem则不会渲染 #39286

Closed
nabaonan opened this issue Dec 6, 2022 · 1 comment

Comments

@nabaonan
Copy link

nabaonan commented Dec 6, 2022

Reproduction link

Edit on CodeSandbox

Steps to reproduce

使用description组件
创建子组件返回一个DescriptionItem
使用descriptions包含创建的子组件,不会渲染出来

What is expected?

descriptions正常渲染descriptionItem

What is actually happening?

没有正常渲染descriptionItem子组件

Environment Info
antd 5.0.4
React react
System macos 12
Browser 107.0.5304.110
@afc163
Copy link
Member

afc163 commented Dec 6, 2022

#27411 (comment)

@MadCcc MadCcc closed this as completed Dec 6, 2022
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

No branches or pull requests

3 participants