import { Component, Directive, Input, OnInit } from '@angular/core';
import { TranslateService } from '@ngx-translate/core';

@Component({
  selector: 'knk-discover-content',
  styleUrls: ['./knk-discover-content.component.scss'],
  templateUrl: './knk-discover-content.component.pug'
})
export class KnkDiscoverContentComponent implements OnInit {
  lang: string;

  constructor(private translateService: TranslateService) {
  }

  ngOnInit(): void {
    this.lang = this.translateService.currentLang || this.translateService.defaultLang;
  }
}
