Fix spelling mistake in packages/core README (#1070)

This commit is contained in:
Malte Janßen 2022-12-16 19:06:02 +01:00 committed by GitHub
parent 24cad6959f
commit b799b51674
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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