🎥 Make videos programmatically with React
Sequence component doc
khalid ansari3dedd56793fe
diff --git a/packages/docs/docs/sequence.md b/packages/docs/docs/sequence.mdindex 362bcadbc1..53428f408f 100644--- a/packages/docs/docs/sequence.md+++ b/packages/docs/docs/sequence.md@@ -19,7 +19,7 @@ The Sequence component is a high order component and accepts, besides it's child- `from` _(required)_: At which frame it's children should assume the video starts. When the sequence is at `frame`, it's children are at frame `0`.-- `durationInFrames` _(required)_: For how many frames the sequence should be displayed. Children are unmounted if they are not within the time range of display. If you don't want to limit the duration of the sequence, you can pass `Infinity`.+- `durationInFrames` _(optional)_: For how many frames the sequence should be displayed. Children are unmounted if they are not within the time range of display. By default it will be `Infinity` to avoid limit the duration of the sequence.- `name` _(optional)_: You can give your sequence a name and it will be shown as the label of the sequence in the timeline of the Remotion preview. This property is purely for helping you keep track of sequences in the timeline.@@ -47,7 +47,7 @@ const MyVideo = () => {### Delay-If you would like to delay the content by say 30 frames, you can wrap it in <br/> `<Sequence from={30} durationInFrames={Infinity}>`.+If you would like to delay the content by say 30 frames, you can wrap it in <br/> `<Sequence from={30}>`.<SequenceForwardExample type="delay" /><br />@@ -58,7 +58,7 @@ import {Sequence} from 'remotion'// ---cut---const MyVideo = () => {return (- <Sequence from={30} durationInFrames={Infinity}>+ <Sequence from={30} ><BlueSquare /></Sequence>)@@ -76,7 +76,7 @@ In this example, we wrap the square in `<Sequence from={0} durationInFrames={45}### Trim startTo trim the start of some content, we can pass a negative value to `from`.-In this example, we wrap the square in `<Sequence from={-15} durationInFrames={Infinity}>` and as a result, the animation has already progressed by 15 frames at the start of the video.+In this example, we wrap the square in `<Sequence from={-15}>` and as a result, the animation has already progressed by 15 frames at the start of the video.<SequenceForwardExample type="trim-start" />@@ -94,8 +94,8 @@ import {Sequence} from 'remotion'// ---cut---const TrimAndDelayExample: React.FC = () => {return (- <Sequence from={30} durationInFrames={Infinity}>- <Sequence from={-15} durationInFrames={Infinity}>+ <Sequence from={30}>+ <Sequence from={-15}><BlueSquare /></Sequence></Sequence>@@ -110,4 +110,4 @@ See the [`<Series />`](/docs/series) helper component, which helps you calculate## See also- [Reuse components using Sequences](/docs/reusability)-- [`<Series /> `](/docs/series)+- [`<Series />`](/docs/series)