import Image from 'next/image'
import { FC } from 'react'
import { Blog } from '../types/BlogTypes'
const MiniBlogItem: FC<{ item: Blog }> = ({ item }) => {
    return (
        <div className='flex items-center gap-2'>
            <Image
                src={item.imageUrl}
                alt={item.title}
                width={72}
                height={72}
                className='rounded-xl size-[72px] min-w-[72px] object-cover'
            />
            <h6 className='text-xs leading-5 font-bold'>
                {item.title}
            </h6>
        </div>
    )
}

export default MiniBlogItem