import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';

@Component({
  selector: 'app-trending-searches',
  standalone: true,
  templateUrl: './trending-searches.component.html',
  styleUrls: ['./trending-searches.component.scss'],
  changeDetection: ChangeDetectionStrategy.OnPush
})
export class TrendingSearchesComponent {
  @Input() title = '';
  @Input() items: string[] = [];

  @Output() selected = new EventEmitter<string>();
}
