Aam-Digital/ndb-core

View on GitHub
src/app/features/dashboard-widgets/birthday-dashboard-widget/birthday-dashboard-widget.module.ts

Summary

Maintainability
A
50 mins
Test Coverage
A
100%
import { NgModule } from "@angular/core";
import { ComponentRegistry } from "../../../dynamic-components";

@NgModule({})
export class BirthdayDashboardWidgetModule {
  constructor(components: ComponentRegistry) {
    components.addAll([
      [
        "BirthdayDashboard",
        () =>
          import("./birthday-dashboard/birthday-dashboard.component").then(
            (c) => c.BirthdayDashboardComponent,
          ),
      ],
    ]);
  }
}