ui icon indicating copy to clipboard operation
ui copied to clipboard

HoverCardContent must be used within HoverCard

Open dragonjay-lyj opened this issue 1 year ago • 0 comments

I copied the this example, and to attempt to the client:load doesn't work

Just like this:

import {
  HoverCard,
  HoverCardContent,
  HoverCardTrigger,
} from "@/components/ui/hover-card"

<HoverCard>
  <HoverCardTrigger client:load>Hover</HoverCardTrigger>
  <HoverCardContent>
    The React Framework – created and maintained by @vercel.
  </HoverCardContent>
</HoverCard>
image

dragonjay-lyj avatar Jan 26 '24 18:01 dragonjay-lyj