fix: typo on "CardShapeUtil" example name (#3998)
Describe what your pull request does. If appropriate, add GIFs or images showing the before and after. ### Change Type <!-- ❗ Please select a 'Scope' label ❗️ --> - [ ] `sdk` — Changes the tldraw SDK - [ ] `dotcom` — Changes the tldraw.com web app - [x] `docs` — Changes to the documentation, examples, or templates. - [ ] `vs code` — Changes to the vscode plugin - [ ] `internal` — Does not affect user-facing stuff <!-- ❗ Please select a 'Type' label ❗️ --> - [x] `bugfix` — Bug fix - [ ] `feature` — New feature - [ ] `improvement` — Improving existing features - [ ] `chore` — Updating dependencies, other boring stuff - [ ] `galaxy brain` — Architectural changes - [ ] `tests` — Changes to any test code - [ ] `tools` — Changes to infrastructure, CI, internal scripts, debugging tools, etc. - [ ] `dunno` — I don't know ### Test Plan 1. Add a step-by-step description of how to test your PR here. 2. - [ ] Unit Tests - [ ] End to end tests ### Release Notes - Fix typo on "CardShapeUtil" name in the custom shape example documentation.
This commit is contained in:
parent
d75df039bd
commit
480c23135f
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ We still have work to do on the `CardShapeUtil` class, but we'll come back to it
|
|||
We pass an array of our shape utils into the [Tldraw](?) component's `shapeUtils` prop.
|
||||
|
||||
```tsx
|
||||
const MyCustomShapes = [MyCardShape]
|
||||
const MyCustomShapes = [CardShapeUtil]
|
||||
|
||||
export default function () {
|
||||
return (
|
||||
|
|
Loading…
Reference in a new issue