import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {SharedModule} from '../../../shared/shared.module';
import {RouterModule, Routes} from '@angular/router';
import { ConfirmRouter } from './router/router';
import { ConfirmContainer } from './container/confirm/confirm.container';
import { ListComponent } from './presenter/list/list.component';

const routes: Routes = [
  {
    path: '',
    component: ConfirmRouter,
    children: [
      {
        path: '',
        component: ConfirmContainer
      },
    ]
  }
];

@NgModule({
  declarations: [
    ConfirmRouter,
    ConfirmContainer,
    ListComponent,
  ],
  imports: [
    CommonModule,
    SharedModule,
    RouterModule.forChild(routes),
  ]
})
export class ConfirmModule { }
