@mocanvas/mocanvas · interface

TLExternalContentProps

interface TLExternalContentProps

The file limits an app configures on the component.


Properties · 4

acceptedImageMimeTypes?: readonly string[]

The mime types of images that are allowed to be handled.

acceptedVideoMimeTypes?: readonly string[]

The mime types of videos that are allowed to be handled.

maxAssetSize?: number

The maximum size (in bytes) of an asset. Defaults to 10mb.

maxImageDimension?: number

The maximum dimension (width or height) of an image. Defaults to infinity.

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.