diff --git a/packages/lucide-angular/projects/lucide-angular/src/lib/lucide-angular.module.ts b/packages/lucide-angular/projects/lucide-angular/src/lib/lucide-angular.module.ts deleted file mode 100644 index 40cfa629b..000000000 --- a/packages/lucide-angular/projects/lucide-angular/src/lib/lucide-angular.module.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { NgModule, ModuleWithProviders, Optional } from '@angular/core'; -import { LucideAngularComponent } from './lucide-angular.component'; -import { Icons } from './icons.provider'; -import { IconData } from '../../lucide'; - -@NgModule({ - declarations: [LucideAngularComponent], - exports: [LucideAngularComponent] -}) -export class LucideAngularModule { - constructor(@Optional() private icons: Icons) { - if (!this.icons) { - throw new Error( - `No icon provided. Make sure to use 'LucideAngularModule.pick({ ... })' when importing the module\n` - ); - } - } - - static pick(icons: { [key: string]: IconData }): ModuleWithProviders { - return { - ngModule: LucideAngularModule, - providers: [ - { provide: Icons, multi: true, useValue: icons } - ] - }; - } -}