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 { IBlog } from '../../../../shared/interface/blog.interface';

@Component({
  selector: 'app-recent-post',
  imports: [RouterModule, CommonModule, NoData],
  templateUrl: './recent-post.html',
  styleUrl: './recent-post.scss',
})
export class RecentPost {
  readonly blogs = input<IBlog[]>();
}
