import {Component, Input, OnInit} from '@angular/core'
import {Observable} from 'rxjs'
import {IChannel} from '../../models/IChannel'
import {IonMenu} from '@ionic/angular'

@Component({
  selector: 'app-menu-channel-group',
  templateUrl: './menu-channel-group.component.html',
  styleUrls: ['./menu-channel-group.component.scss'],
})
export class MenuChannelGroupComponent  implements OnInit {
  @Input({required: true})
  groupName!: string

  @Input({required: true})
  channels!: Observable<IChannel[]>

  @Input()
  menu?: IonMenu

  constructor() { }

  ngOnInit() {}

}
