From 78b8b4a7ccff7ab3902ff36bebea38263baf3881 Mon Sep 17 00:00:00 2001 From: Taha <98838967+Taha-Hassan-Git@users.noreply.github.com> Date: Fri, 12 Jan 2024 11:22:18 +0000 Subject: [PATCH] Annotate example for using Tldraw component in a scrollable container (#2452) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Annotate example for using Tldraw component in a scrollable container ### Change Type - [ ] `patch` — Bug fix - [ ] `minor` — New feature - [ ] `major` — Breaking change - [ ] `dependencies` — Changes to package dependencies[^1] - [x] `documentation` — Changes to the documentation only[^2] - [ ] `tests` — Changes to any test code only[^2] - [ ] `internal` — Any other changes that don't affect the published package[^2] - [ ] I don't know [^1]: publishes a `patch` release, for devDependencies use `internal` [^2]: will not publish a new version ### 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 - Annotate example for using Tldraw component in a scrollable container --- apps/examples/src/examples/scroll/ScrollExample.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/examples/src/examples/scroll/ScrollExample.tsx b/apps/examples/src/examples/scroll/ScrollExample.tsx index 3fce43655..3580f9929 100644 --- a/apps/examples/src/examples/scroll/ScrollExample.tsx +++ b/apps/examples/src/examples/scroll/ScrollExample.tsx @@ -19,3 +19,7 @@ export default function ScrollExample() { ) } + +/* +This example shows how you can use the Tldraw component inside a scrollable container. +*/