@mocanvas/mocanvas · interface
interface TLDefaultExternalContentHandlerOpts extends TLExternalContentPropsTLExternalContentProps plus the two UI contexts a handler needs to talk to the user.
Properties · 2
msg: (id: TLUiTranslationKey) => stringThe translator, from useTranslation().
toasts: TLUiToastsContextTypeThe toast queue, from useToasts().
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.