@mocanvas/mocanvas · function

TldrawUiTranslationProvider

declare function TldrawUiTranslationProvider({ overrides, children }: TLUiTranslationProviderProps): react.JSX.Element

Resolves the editor's current locale into a TLUiTranslation and publishes it. Re-resolves when the user changes locale, so a language menu takes effect without remounting the chrome.

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.