Skip to content

Switch component API documentation error #4906

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

Closed
1 task
CatchX opened this issue Nov 19, 2021 · 1 comment
Closed
1 task

Switch component API documentation error #4906

CatchX opened this issue Nov 19, 2021 · 1 comment

Comments

@CatchX
Copy link

CatchX commented Nov 19, 2021

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.2.8

Environment

chrome现代浏览器

Reproduction link

https://2x.antdv.com/components/switch-cn/#Switch-

Steps to reproduce

打开ant design文档,找到switch组件,API文档中的选中时内容/非选中时内容,API展示错误

What is expected?

checkedChildren 选中时的内容 string|slot
unCheckedChildren 非选中时的内容 string|slot

What is actually happening?

unCheckedChildren 非选中时的内容 string|slot
unCheckedChildren 非选中时的内容 string|slot

@github-actions github-actions bot changed the title switch组件 API文档错误 Switch component API documentation error Nov 19, 2021
@zkwolf zkwolf added the docs label Nov 19, 2021
tangjinzhou added a commit that referenced this issue Nov 20, 2021
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants