Describe your motivation
We added support for vaadin-dialog header and footer slots in vaadin/web-components#10624.
This should be relatively easy to integrate in the Flow component so IMO we should do it.
Describe the solution you'd like
Update DialogHeaderFooter to not use headerRenderer / footerRenderer function, remove all the logic related to renderer state and instead add elements to the vaadin-dialog-content slotted element.
Describe your motivation
We added support for
vaadin-dialogheader and footer slots in vaadin/web-components#10624.This should be relatively easy to integrate in the Flow component so IMO we should do it.
Describe the solution you'd like
Update
DialogHeaderFooterto not useheaderRenderer/footerRendererfunction, remove all the logic related to renderer state and instead add elements to thevaadin-dialog-contentslotted element.