feat(citation): move to message renderer

This commit is contained in:
ItzCrazyKns
2025-12-19 16:26:13 +05:30
parent 64683e3dec
commit a82b605c70

View File

@@ -0,0 +1,19 @@
const Citation = ({
href,
children,
}: {
href: string;
children: React.ReactNode;
}) => {
return (
<a
href={href}
target="_blank"
className="bg-light-secondary dark:bg-dark-secondary px-1 rounded ml-1 no-underline text-xs text-black/70 dark:text-white/70 relative"
>
{children}
</a>
);
};
export default Citation;