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

useDialog support style property #1054

Closed
Hawods opened this issue Sep 2, 2021 · 0 comments · Fixed by #1124
Closed

useDialog support style property #1054

Hawods opened this issue Sep 2, 2021 · 0 comments · Fixed by #1124
Assignees
Labels
feature request New feature or request

Comments

@Hawods
Copy link
Contributor

Hawods commented Sep 2, 2021

This function solves the problem (这个功能解决的问题)

custom width or other style of dialog

Expected API (期望的 API)

const dialog = useDialog();
dialog.create({
 style: {
   width: '600px'
 }
});
@github-actions github-actions bot added the feature request New feature or request label Sep 2, 2021
@Talljack Talljack self-assigned this Sep 3, 2021
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.

2 participants