How to use @ionic/react - 3 common examples

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();
    });
  }
github ionic-team / ionic / packages / demos / react / src / pages / PageOne.js View on Github external
openPopover(event) {
    return createPopover({
      component: PopoverPage,
      ev: event
    }).then((popover) => {
      return popover.present();
    });
  }

@ionic/react

React specific wrapper for @ionic/core

MIT
Latest version published 18 days ago

Package Health Score

92 / 100
Full package analysis