8 lines
270 B
TypeScript
8 lines
270 B
TypeScript
import { useTempoUi } from '@/components/tempo-brand';
|
|
|
|
// Bridge the original Trans calls to this platform's existing language context.
|
|
export function Trans({ children }: { children: string }) {
|
|
const { t } = useTempoUi();
|
|
return <span>{t(children)}</span>;
|
|
}
|