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

[comp:notification] 支持 contentProps #1014

Closed
1 task done
danranVm opened this issue Jul 13, 2022 · 2 comments · Fixed by #1046
Closed
1 task done

[comp:notification] 支持 contentProps #1014

danranVm opened this issue Jul 13, 2022 · 2 comments · Fixed by #1046
Assignees
Labels
Comp:Notification enhancement New feature or request good first issue Good for newcomers

Comments

@danranVm
Copy link
Member

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

给 content 传参

What does the proposed API look like?

参考 modal

contentProps?: Record<string, unknown> | VNodeProps
@idux-bot
Copy link

idux-bot bot commented Jul 13, 2022

Translation of this issue:

[Comp: Notification] Support ContentProps

What PROBLEM DOES This Feature Solve?

Pass to content

What does the proposed api look like?

Reference Modal

contentProps?: Record<string, unknown> | VNodeProps

@danranVm danranVm added enhancement New feature or request good first issue Good for newcomers labels Jul 19, 2022
@danranVm
Copy link
Member Author

参考 useModal 即可

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Comp:Notification enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant