Tldraw/apps/examples/src/examples/asset-props/README.md

306 B

title component
Asset props ./AssetPropsExample.tsx

Control the assets (images, videos, etc.) that can be added to the canvas.


This example demonstrates the <Tldraw/> component's props that give you control over assets: which types are allowed, the maximum size, and maximum dimensions.