Skip to content

Commit 9998875

Browse files
ruddenchauxFederico Dainelli
andauthored
docs: update transform components props usage (#2283)
Co-authored-by: Federico Dainelli <[email protected]>
1 parent 591b633 commit 9998875

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/builtin/components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ Apply scaling or transforming to elements.
253253
### Usage
254254

255255
```md
256-
<Transform :scale="0.5">
256+
<Transform :scale="0.5" origin="top center">
257257
<YourElements />
258258
</Transform>
259259
```

docs/features/transform-component.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ description: |
1313
The `Transform` component allows you to scale the size of the elements on your slides:
1414

1515
```md
16-
<Transform :scale="0.5">
16+
<Transform :scale="0.5" origin="top center">
1717
<YourElements />
1818
</Transform>
1919
```

0 commit comments

Comments
 (0)