import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { AddFoodComponent } from './add-food.component';
import { ModalModule } from '../modal.module';
import { SearchBoxModule } from '../../search-box/search-box.module';
import { FoodCardModule } from '../../cards/food-card/food-card.module';
import { NutritionTableModule } from '../../nutrition-table/nutrition-table.module';
import { ButtonModule } from '../../button/button.module';
import { RecipeNotFoundModule } from '../../errors/recipe-not-found/recipe-not-found.module';
import { PaginatorModule } from '../../paginator/paginator.module';

@NgModule({
  declarations: [AddFoodComponent],
  imports: [
    CommonModule,
    ModalModule,
    SearchBoxModule,
    FoodCardModule,
    NutritionTableModule,
    ButtonModule,
    RecipeNotFoundModule,
    PaginatorModule,
  ],
  exports: [AddFoodComponent],
})
export class AddFoodModule {}
