import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router';
import { ExperienceBookingSearchComponent } from './experience-booking-search/experience-booking-search.component';

const routes: Routes = [
  {
    path: 'Search',
    component: ExperienceBookingSearchComponent,
  },
  {
    path: '',
    pathMatch: 'full',
    redirectTo: 'Search',
  },
];

@NgModule({
  declarations: [ExperienceBookingSearchComponent],
  imports: [CommonModule, RouterModule.forChild(routes)],
})
export class ExperienceBookingModule {}
