'use client'; import React, { useState } from 'react'; import { Info } from 'lucide-react'; interface InfoTooltipProps { text: string; title?: string; className?: string; } export const InfoTooltip: React.FC = ({ text, title, className = '' }) => { const [visible, setVisible] = useState(false); return (
{visible && (
{title &&
{title}
}

{text}

)}
); };