import { CommonModule } from '@angular/common';
import { Component, Input } from '@angular/core';
import { RouterModule } from '@angular/router';

import { NoData } from '../../../../shared/components/widgets/no-data/no-data';
import { ICategory } from '../../../../shared/interface/category.interface';

@Component({
  selector: 'app-blog-category',
  imports: [RouterModule, CommonModule, NoData],
  templateUrl: './blog-category.html',
  styleUrl: './blog-category.scss',
})
export class BlogCategory {
  @Input() data: ICategory[];
}
