import { IconInfoCircle } from '@tabler/icons-react' import { useState } from 'react' interface InfoTooltipProps { text: string className?: string } export default function InfoTooltip({ text, className = '' }: InfoTooltipProps) { const [isVisible, setIsVisible] = useState(false) return ( {isVisible && (
{text}
)} ) }