SkateSpots/.agents/skills/note-content/files/components/ProfileHoverCard.tsx
shakespeare.diy 06fae294b8 New project created with Shakespeare
Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
2026-06-15 19:49:07 +07:00

19 lines
555 B
TypeScript

import type { ReactNode } from 'react';
interface ProfileHoverCardProps {
pubkey: string;
asChild?: boolean;
children: ReactNode;
}
/**
* Minimal profile hover card — a passthrough wrapper.
*
* Ditto's richer `ProfileHoverCard` shows an avatar, display name,
* bio, follower count, and follow button on hover. To replicate,
* wrap with `@/components/ui/hover-card` and pull metadata via
* `useAuthor(pubkey)` inside the hover content.
*/
export function ProfileHoverCard({ children }: ProfileHoverCardProps) {
return <>{children}</>;
}