Hey there. I've imported the module into my angular 16 project, but looks like standalone components don't accept the NgxSimpleIconsModule.pick({microsoftword}) syntax.
'imports' contains a ModuleWithProviders value, likely the result of a 'Module.forRoot()'-style call. These calls are not used to configure components and are not valid in standalone component imports - consider importing them in the application bootstrap instead.(-992012)
Type 'ModuleWithProviders<NgxSimpleIconsModule>' is not assignable to type 'readonly any[] | Type<any>'.ts(2322)
⚠ Error (TS2322) |
Type
is not assignable to type
.
(alias) class NgxSimpleIconsModule
import NgxSimpleIconsModule
Any thoughts on how this could be engineered to be compatible with standalone components? Thanks for your help. Looks like this isn't heavily maintained so I inderstand if it's not a priority.
Hey there. I've imported the module into my angular 16 project, but looks like standalone components don't accept the
NgxSimpleIconsModule.pick({microsoftword})
syntax.I get this error:
Any thoughts on how this could be engineered to be compatible with standalone components? Thanks for your help. Looks like this isn't heavily maintained so I inderstand if it's not a priority.