@mocanvas/mocanvas · function
declare function useTranslation(): (id: TLUiTranslationKey) => stringLook a string id up. An id with no entry passes through unchanged, so a component may use a localized literal as its own label and still be safe to render outside a provider.
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.