fix: make Tooltip a client component (#274)

The toolip example use state internally, a more correct example should show that is a client component

Co-authored-by: Bart Stefanski <contact@bstefanski.com>
This commit is contained in:
Filmon Arefayne 2024-02-27 19:21:39 +00:00 • committed by GitHub
parent c503bc8a2b
commit 765cc0c7cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,3 +1,5 @@
"use client"
import * as RadixTooltip from "@radix-ui/react-tooltip"
import { cva, VariantProps } from "class-variance-authority"
import React from "react"