import React from "react"; export interface SocialBadgeProps { title: string link: string, imagePath: string } export const SocialBadge: React.FC = ({title, link, imagePath}) => { link = link ?? "/404"; title = title ?? "Unbekannt"; console.log(imagePath); return ( {imagePath?():null}
{title}
) }