mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
refactor(components): add icon module and missing imports
This commit is contained in:
19
src/components/icon/icon.module.ts
Normal file
19
src/components/icon/icon.module.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import { NgModule, ModuleWithProviders } from '@angular/core';
|
||||
|
||||
import { Icon } from './icon';
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
Icon
|
||||
],
|
||||
exports: [
|
||||
Icon
|
||||
]
|
||||
})
|
||||
export class IconModule {
|
||||
public static forRoot(): ModuleWithProviders {
|
||||
return {
|
||||
ngModule: IconModule, providers: []
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user