Public typealias

Signature
type TLUiTranslation = {
  readonly dir: 'ltr' | 'rtl'
  readonly label: string
  readonly locale: string
  readonly messages: Record<TLUiTranslationKey, string>
}
References

TLUiTranslationKey

Source

packages/tldraw/src/lib/ui/hooks/useTranslation/translations.ts

TLUiToolsProviderPropsTLUiTranslationContextType