kopia lustrzana https://github.com/Tldraw/Tldraw
334 B
334 B
title | component | category | priority |
---|---|---|---|
Custom shape | ./CustomShapeExample.tsx | shapes/tools | 1 |
A simple custom shape.
You can create custom shapes in tldraw by creating a shape util and passing it to the Tldraw component. In this example, we'll create a custom shape that is a simple rectangle with some text inside of it.