How to use the piral-menu.createMenuApi function in piral-menu

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

Plugin for the integration of menu items in Piral.

MIT
Latest version published 15 hours ago

Package Health Score

78 / 100
Full package analysis

Popular piral-menu functions