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

In version 4.24.x, <Steps.Step> cannot be used in a wrapped component. #42937

Closed
xc2f opened this issue Jun 9, 2023 · 1 comment
Closed

In version 4.24.x, <Steps.Step> cannot be used in a wrapped component. #42937

xc2f opened this issue Jun 9, 2023 · 1 comment

Comments

@xc2f
Copy link

xc2f commented Jun 9, 2023

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Props like title in wrapper component didn't work.
Works fine in 4.23.6 and below.

What is expected?

The props of Steps.Step works fine.

What is actually happening?

The values of props such as title are not displayed.

Environment Info
antd 4.24.10
React 18.2.0
System Windows 10
Browser Chrome 114
@afc163
Copy link
Member

afc163 commented Jun 9, 2023

Duplicate of #4853

@afc163 afc163 marked this as a duplicate of #4853 Jun 9, 2023
@afc163 afc163 closed this as completed Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants