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

希望支持 Drawer 右上角关闭按钮 icon 的 slot #3355

Open
1 task
vortesnail opened this issue Nov 18, 2024 · 3 comments
Open
1 task

希望支持 Drawer 右上角关闭按钮 icon 的 slot #3355

vortesnail opened this issue Nov 18, 2024 · 3 comments

Comments

@vortesnail
Copy link

Basic Info

What are the similar cases of this feature

暂未发现

What problem does this feature solve?

Drawer 有的使用场景中使用 close icon 会有一点不适宜,能替换为其他 icon 会好些

@moonwane
Copy link

关闭icon不是在header slot里么,直接用header slot就行了啊。。

@vortesnail
Copy link
Author

关闭icon不是在header slot里么,直接用header slot就行了啊。。

自己写是没问题,但是要自己重新绑定关闭事件,没必要搞这么麻烦,一个 slot 就能搞定的问题

@vortesnail
Copy link
Author

关闭icon不是在header slot里么,直接用header slot就行了啊。。

title 都给了 slot,不明白 icon 为什么也不放出来,从设计上来说就很怪

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants