🎥 Make videos programmatically with React
add JSDoc comments
Jonny Burger97f21249d27c
diff --git a/packages/core/src/Sequence.tsx b/packages/core/src/Sequence.tsxindex 0cdce7e6eb..ce20bdd134 100644--- a/packages/core/src/Sequence.tsx+++ b/packages/core/src/Sequence.tsx@@ -212,4 +212,8 @@ const SequenceRefForwardingFunction: React.ForwardRefRenderFunction<);};+/**+ * A component that time-shifts its children and wraps them in an absolutely positioned <div>.+ * @link https://www.remotion.dev/docs/sequence+ */export const Sequence = forwardRef(SequenceRefForwardingFunction);diff --git a/packages/docs/docs/sequence.md b/packages/docs/docs/sequence.mdindex 3a2c2eb827..a2cfd9718d 100644--- a/packages/docs/docs/sequence.md+++ b/packages/docs/docs/sequence.md@@ -40,7 +40,7 @@ const MyTrailer = () => {All child components inside a `<Sequence>` will have their value of [`useCurrentFrame()`](/docs/use-current-frame) shifted by the `from` value.-Using the `durationInFrames` prop, you can define for how long the children of a `<Sequence>` should be mounted....+Using the `durationInFrames` prop, you can define for how long the children of a `<Sequence>` should be mounted.By default, the children of a `<Sequence>` are wrapped in an [`<AbsoluteFill>`](/docs/absolute-fill) component. If you don't want this behavior, add `layout="none"` as a prop.