How to use the piral-modals.createModalsApi function in piral-modals

To help you get started, we’ve selected a few piral-modals 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 smapiot / piral / src / packages / piral-ext / src / create.ts View on Github external
export function createStandardApi(settings: PiralExtSettings = {}) {
  return [
    createLocaleApi(settings.locale),
    createDashboardApi(settings.dashboard),
    createMenuApi(settings.menu),
    createNotificationsApi(settings.notifications),
    createModalsApi(settings.modals),
    createFeedsApi(settings.feeds),
  ];
}

piral-modals

Plugin for the display of modal dialogs in Piral.

MIT
Latest version published 1 day ago

Package Health Score

81 / 100
Full package analysis

Popular piral-modals functions