import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { NxActionModule } from '@aposin/ng-aquila/action';
import { NxIconModule } from '@aposin/ng-aquila/icon';
import { NxSidebarModule } from '@aposin/ng-aquila/sidebar';

import { ViewportChangeExampleComponent } from './viewport-change/viewport-change-example';

const EXAMPLES = [ViewportChangeExampleComponent];

@NgModule({
    imports: [
        NxSidebarModule,
        NxIconModule,
        RouterModule,
        CommonModule,
        NxActionModule,
        EXAMPLES,
    ],
    exports: [EXAMPLES],
})
export class ViewportExamplesModule {
    static components() {
        return {
            'viewport-change': ViewportChangeExampleComponent,
        };
    }
}
