[docs] fix type (tldraw/core) (#353)

- `Indicator` -> `Component`

Closes #352
This commit is contained in:
Yao Wang 2021-11-22 23:21:19 +08:00 committed by GitHub
parent 5e6a6c9967
commit f8dc5b3248
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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