-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
As I user of ant-design-vue I would like to be able to use function(h) to define the content of a modal using the Modal.methods() function. The goal is to offer more elaborate content to display to the user.
Currently, we can only defined a string, however with Notification or Message component you can set function(h).
What does the proposed API look like?
The idea would be to harmonize the APIs and add the possibility to use function(h).
Probably doing something like this line at line 85 of ConfirmDialog.jsx would be enough ?