🎥 Make videos programmatically with React
document loopingbehavior
Jonny Burger5a013bead46c
diff --git a/packages/docs/docs/gif/gif.md b/packages/docs/docs/gif/gif.mdindex 8cc1ba8548..1f379e3ace 100644--- a/packages/docs/docs/gif/gif.md+++ b/packages/docs/docs/gif/gif.md@@ -63,6 +63,16 @@ Callback that gets called once the GIF has loaded and finished processing. As itAllows to pass in custom CSS styles.+### `loopingBehavior`++_available from v3.3.4_++The looping behavior of the GIF. Can be one of these values:++- `'loop'`: The GIF will loop infinitely. (_default_)+- `'pause-after-finish'`: The GIF will play once and then show the last frame.+- `'unmount-after-finish'`: The GIF will play once and then unmount. Note that if you attach a `ref`, it will become `null` after the GIF has finished playing.+## Example```tsx twoslash