@mocanvas/mocanvas · type

TLUiTranslationContextType

type TLUiTranslationContextType = TLUiTranslation

The value useCurrentTranslation returns: the active locale's strings.

The name a component annotates a prop with when it is handed the translation rather than reading it from context — a static renderer, say, or a test.

Mentioned here

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.