How to use the @ionic/react.createModal function in @ionic/react

To help you get started, we’ve selected a few @ionic/react examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ionic-team / ionic / packages / demos / react / src / pages / PageOne.js View on Github external
openModal() {
    return createModal({
      component: ModalPage
    }).then((modal) => {
      return modal.present();
    });
  }

@ionic/react

React specific wrapper for @ionic/core

MIT
Latest version published 5 days ago

Package Health Score

92 / 100
Full package analysis