Fix spelling mistake in packages/core README (#1070)
This commit is contained in:
parent
24cad6959f
commit
b799b51674
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ export const BoxComponent = TLShapeUtil.Component<BoxShape, SVGSVGElement>(
|
|||
)
|
||||
```
|
||||
|
||||
Your component can return HTML elements or SVG elements. If your shape is returning only SVG elements, wrap it in an `SVGContainer`. If your shape returns HTML elements, wrap it in an `HTMLContainer`. Not that you must set `pointerEvents` manually on the shapes you wish to receive pointer events.
|
||||
Your component can return HTML elements or SVG elements. If your shape is returning only SVG elements, wrap it in an `SVGContainer`. If your shape returns HTML elements, wrap it in an `HTMLContainer`. Note that you must set `pointerEvents` manually on the shapes you wish to receive pointer events.
|
||||
|
||||
The component will receive the following props:
|
||||
|
||||
|
|
Loading…
Reference in a new issue