import { jsx as _jsx } from "react/jsx-runtime";
import Card from "antd/lib/card";
const { Meta } = Card;
export const UrlContentPreview = ({ title, imgSrc, redirectUrl, description }) => {
    return (_jsx("a", { href: redirectUrl, target: "_blank", rel: "noreferrer", children: _jsx(Card, { hoverable: true, className: "url-preview-content-card", cover: imgSrc && _jsx("img", { src: imgSrc, alt: imgSrc }), children: _jsx(Meta, { title: title, description: description, className: "header-4" }) }) }));
};
//# sourceMappingURL=UrlContentPreview.js.map