Skip to content

Commit

Permalink
fix: add aspect ratio to signals.mdx example
Browse files Browse the repository at this point in the history
  • Loading branch information
gmile committed May 12, 2023
1 parent 528f918 commit 79b886f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs/docs/getting-started/signals.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ We can use the fact that properties of nodes are represented by signals to
construct scenes that automatically update when the data changes. Following the
previous example, let's create a visualisation for the area of the circle:

```tsx editor
```tsx editor ratio=16/9
import {makeScene2D} from '@motion-canvas/2d/lib/scenes';
import {Circle, Txt, Line} from '@motion-canvas/2d/lib/components';
import {createSignal} from '@motion-canvas/core/lib/signals';
Expand Down

0 comments on commit 79b886f

Please sign in to comment.