import {useId} from 'react'; import {useTranslation} from 'react-i18next'; import {Megaphone, X} from 'lucide-react'; import {Button} from '@/components/ui/button'; import {Card} from '@/components/ui/card'; import {cn} from '@/lib/utils'; import HintText from './HintText.jsx'; import {hintText} from '../utils/hints.js'; export default function HintCard({hint, hideForever, onHideForeverChange, onClose, onAccept, className}) { const {t, i18n} = useTranslation(); const checkboxId = useId(); return (

{hint.kind === 'DISMISS' && ( )}
{hint.kind === 'DISMISS' ? ( ) : ( )}
); }