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

useModal 支持默认slot #5857

Open
3 tasks done
a145789 opened this issue Apr 10, 2024 · 1 comment · May be fixed by #5861
Open
3 tasks done

useModal 支持默认slot #5857

a145789 opened this issue Apr 10, 2024 · 1 comment · May be fixed by #5861
Labels
feature request New feature or request

Comments

@a145789
Copy link

a145789 commented Apr 10, 2024

问题的清晰而简明的描述

useModal 目前只提供 ModalProps ,没有提供默认 slot 入口,无法定制化 modal 里的内容,只能使用预设

ModalProvider.ts此处 并没有 slot 入口

image

建议的解决方案

是否可以添加 slotrender api 以支持定制化展示

备选方案

No response

附加上下文

No response

验证

  • 阅读 贡献指南
  • 阅读 文档
  • 检查是否已经存在请求相同功能的问题,以避免创建重复的问题。
@a145789 a145789 added the feature request New feature or request label Apr 10, 2024
@a145789 a145789 linked a pull request Apr 11, 2024 that will close this issue
@a145789
Copy link
Author

a145789 commented May 9, 2024

@jahnli hello,请问这个有支持的想法么,想要不使用预设做定制化的时候很需要

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

Successfully merging a pull request may close this issue.

1 participant