import * as React from "react"; import Avatar from "~/components/Avatar"; import { AvatarSize } from "~/components/Avatar/Avatar"; import Flex from "~/components/Flex"; import { Preview, Title, Info, Card, CardContent } from "./Components"; type Props = { /** Resource url, avatar url in case of user mention */ url: string; /** Title for the preview card*/ title: string; /** Info about mentioned user's recent activity */ info: string; /** Used for avatar's background color in absence of avatar url */ color: string; }; const HoverPreviewMention = React.forwardRef(function _HoverPreviewMention( { url, title, info, color }: Props, ref: React.Ref ) { return ( {title} {info} ); }); export default HoverPreviewMention;