[docs] fix type (tldraw/core) (#353)
- `Indicator` -> `Component` Closes #352
This commit is contained in:
parent
5e6a6c9967
commit
f8dc5b3248
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ export interface BoxShape extends TLShape {
|
||||||
|
|
||||||
### Component
|
### 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
|
```tsx
|
||||||
// BoxComponent.ts
|
// BoxComponent.ts
|
||||||
|
|
Loading…
Reference in a new issue