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

内置组件“component”支持VNode类型 #2999

Open
gouxiwen opened this issue Sep 6, 2024 · 1 comment
Open

内置组件“component”支持VNode类型 #2999

gouxiwen opened this issue Sep 6, 2024 · 1 comment
Labels
content Issues / PRs related to docs content

Comments

@gouxiwen
Copy link

gouxiwen commented Sep 6, 2024

文档中只支持string和Component类型
image

实际上VNode类型也支持
image

@bencodezen bencodezen added the content Issues / PRs related to docs content label Sep 10, 2024
@bencodezen
Copy link
Member

For those who don't read Chinese, this issue is requesting an update on the supported types for the <component>'s is property which can also take a Node based on the given example.

The is to update the docs to reflect this supported type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Issues / PRs related to docs content
Projects
None yet
Development

No branches or pull requests

2 participants