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

[Feature Request] icon里面可以放入info #5524

Open
superlbr opened this issue Aug 19, 2023 · 2 comments
Open

[Feature Request] icon里面可以放入info #5524

superlbr opened this issue Aug 19, 2023 · 2 comments

Comments

@superlbr
Copy link

这个功能解决了什么问题?

van-icon可以使用info,

  1. info可以slot订制
  2. info的位置可以挪到中间、左上

你期望的 API 是什么样子的?

<van-icon>
  <van-info slot="info" />
</van-icon
<van-icon info-position="center">
</van-icon>
@johnsonwong666
Copy link
Collaborator

info加了插槽,位置感觉作用不大,暂时不支持。

@superlbr
Copy link
Author

superlbr commented Oct 8, 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