How to use the piral-notifications.createNotificationsApi function in piral-notifications

To help you get started, we’ve selected a few piral-notifications 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-notifications

Plugin for triggering notifications in Piral.

MIT
Latest version published 9 days ago

Package Health Score

81 / 100
Full package analysis

Popular piral-notifications functions