import { TSharedEntry } from "@/shared/dictionary-type"; import { useTranslations } from "next-intl"; interface DictionaryEntryProps { entry: TSharedEntry; } export function DictionaryEntry({ entry }: DictionaryEntryProps) { const t = useTranslations("dictionary"); return (
{entry.definition}
{entry.example}