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

[Antd v5] Tour组件: TourStep 设置 type=‘primary’ 无效 #39307

Closed
murphy-wei opened this issue Dec 6, 2022 · 1 comment
Closed

[Antd v5] Tour组件: TourStep 设置 type=‘primary’ 无效 #39307

murphy-wei opened this issue Dec 6, 2022 · 1 comment
Labels
🐛 Bug Ant Design Team had proved that this is a bug.

Comments

@murphy-wei
Copy link
Contributor

Reproduction link

Edit on CodeSandbox

Steps to reproduce

‘’

What is expected?

TourStep 可以设置 type

What is actually happening?

设置无效

Environment Info
antd 5.0.4
React react 18.0.0
System Mac os
Browser chorme

源码中好像并没有根据 TourStepProps 中的 type 做判断给出类名

@MadCcc MadCcc added the 🐛 Bug Ant Design Team had proved that this is a bug. label Dec 6, 2022
@MuxinFeng
Copy link
Contributor

我提个 pr 吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Ant Design Team had proved that this is a bug.
Projects
None yet
Development

No branches or pull requests

3 participants