kopia lustrzana https://github.com/Tldraw/Tldraw
rodzic
5e6a6c9967
commit
f8dc5b3248
|
@ -295,7 +295,7 @@ export interface BoxShape extends TLShape {
|
|||
|
||||
### Component
|
||||
|
||||
Next, use `TLShapeUtil.Indicator` to create a second component for your shape's `Component`. The `Renderer` will use this component to display the shape on the canvas.
|
||||
Next, use `TLShapeUtil.Component` to create a second component for your shape's `Component`. The `Renderer` will use this component to display the shape on the canvas.
|
||||
|
||||
```tsx
|
||||
// BoxComponent.ts
|
||||
|
|
Ładowanie…
Reference in New Issue