--- import {formatDateToYYYYMMDD} from "../utils/date-utils"; import { Icon } from 'astro-icon/components'; interface Props { class: string; pubDate: Date; tags: string[]; categories: string[]; } const {pubDate, tags, categories} = Astro.props; const className = Astro.props.class; ---