14 lines
460 B
TypeScript
14 lines
460 B
TypeScript
import { type FC } from 'react'
|
|
import { type ProductType } from '@/pages/request/type/Types'
|
|
|
|
const ServiceItem: FC<{ product: ProductType }> = ({ product }) => {
|
|
return (
|
|
<div>
|
|
<div className='size-20 rounded-full bg-gray-200 border-[3px] border-primary'>
|
|
<img src={product.images?.[0]} alt={product.title} className='w-full h-full object-cover' />
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default ServiceItem |