Skip to content

Commit

Permalink
Fix documentation typo (#1296)
Browse files Browse the repository at this point in the history
  • Loading branch information
wcandillon authored Jan 20, 2023
1 parent 67b285d commit 8bd9634
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/canvas/canvas.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ Behind the scenes, it is using its own React renderer.
## Getting the Canvas size

If the size of the Canvas is unknown, there are two ways to access it:
* **In React components**, using the [`onLayout`](https://reactnative.dev/docs/view#onlayout) prop like you would on any regular React Native View.
* **In Skia animations**, using [`onSize`](/docs/animations/values#canvas).
* **In React components**, using the [`onLayout`](https://reactnative.dev/docs/view#onlayout) prop, like you would on any regular React Native View.
* **In Skia animations**, using the [`onSize`](/docs/animations/values#canvas-size) prop.

## Getting a Canvas Snapshot

Expand Down

0 comments on commit 8bd9634

Please sign in to comment.