Multiple Modals per Page?



  • Does anyone have any guidance on how I could code up multiple Modals per Page with Onsen React? The framework only has a single renderModal function that can be associated with a single Page. But my Page might want to show one of a couple of different modals depending on the state.

    Thanks,

    Scott


  • Onsen UI

    @sherscher Does something like this work for you? It simply changes the modal content.



  • Ah yep. That should basically work. Thanks.


Log in to reply