How can i append react component to dialog


How can I add a react component to the dialog?

For example :

Note: These components are not simple and have many operators

In order for a react js to be read by a browser, it must first be completed using DOM, so first we create a dialog according to the framework7 documents, then we compile our component into it.

To destroy the dialog , do the same in reverse: