Improve the SPFx Dialog Class
The recently released Dialog class in the SharePoint Framework is a lovely idea but doesn't go nearly as far as it should and is currently very limited in its usefulness. I would like to request the following enhancements:
Allow a parameter for a custom Title; currently they always say only "Alert" and "Prompt" and cannot be changed
Allow specification of the classic alert icons (info, warning, question, error)
Allow specification of a custom icon, preferably from the Office UI Fabric
Allow specification of traditional button sets (ok, ok-cancel, yes-no, etc.) and/or custom button sets using a JSON object
Add a .custom() method (like the .alert() and .prompt() methods) that allows the developer to pass in HTML of any sort and return a JSON object of any shape, allowing developers to create quick, simple pop-up forms.
Thanks for listening.
Westley Hall commented
this would be nice