Skip to content

Commit 8947f8d

Browse files
authored
docs: Update stabilization guide
1 parent 522f3bd commit 8947f8d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/docs/guides/STABILIZATION.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,13 @@ Then, pass the `format` to the Camera and enable the `videoStabilizationMode` pr
6262
```tsx
6363
const format = ...
6464
const supportsVideoStabilization = format.videoStabilizationModes.includes('cinematic-extended')
65+
const stabilizationMode = supportsVideoStabilization ? 'cinematic-extended' : undefined
6566

6667
return (
6768
<Camera
6869
{...props}
6970
format={format}
70-
videoStabilizationMode={supportsVideoStabilization}
71+
videoStabilizationMode={stabilizationMode}
7172
/>
7273
)
7374
```

0 commit comments

Comments
 (0)