import { Link } from 'react-router-dom'; import { KeenIcon } from '@/components'; import { toAbsoluteUrl } from '@/utils/Assets'; interface IWorkProps { image: string; title: string; description?: string; authorAvatar: string; authorName: string; likes: number; comments: number; } const CardWork = ({ image, title, authorAvatar, authorName, likes, comments }: IWorkProps) => { return (
{title}
{authorName}
{likes}
{comments}
); }; export { CardWork, type IWorkProps };