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

@Component({
  selector: 'app-select-list',
  templateUrl: './select-list.component.html'
})
export class SelectListComponent implements OnInit {
  @Input() withEmptyOption: boolean = false;
  @Input() optionList: any[];
  @Input() option: any;
  @Output() optionChange = new EventEmitter();
  @Input() label: string;
  @Input() id: string;
  @Input() help: string;

  constructor() { }

  ngOnInit() {
  }

}
