'use client'

import { useTranslations } from "next-intl";

export default function Text({ txt }: { txt: string }) {
  const t = useTranslations();
  return <div>{t(txt)}</div>;
}
