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(Dialog): add footer config #6633

Open
wwRandom opened this issue May 24, 2024 · 1 comment
Open

feature(Dialog): add footer config #6633

wwRandom opened this issue May 24, 2024 · 1 comment
Labels

Comments

@wwRandom
Copy link

Version of antd-mobile

No response

What is this feature about?

希望Dialog组件可以支持footer属性,支持在按钮下方添加提示或者自定义节点

@wwRandom wwRandom changed the title featture(Dialog): add footer config feature(Dialog): add footer config May 24, 2024
@yezhonghu0503
Copy link
Contributor

yezhonghu0503 commented May 24, 2024

可以看下这个示例:自定义节点

如果你是说在按钮下方添加提示或者自定义节点,可以看下actions的定义,text是一个ReactNode类型,应该可以满足你的需求
image

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

No branches or pull requests

2 participants