Skip to content

🎥 Make videos programmatically with React

Derive TransitionSeries.Sequence props from Sequence

Jonny Burgerafe9d9fb1864
diff --git a/packages/transitions/src/TransitionSeries.tsx b/packages/transitions/src/TransitionSeries.tsx
index 84200f2d84..808038e38e 100644
--- a/packages/transitions/src/TransitionSeries.tsx
+++ b/packages/transitions/src/TransitionSeries.tsx
@@ -129,18 +129,14 @@ type SeriesSequenceProps = PropsWithChildren<
readonly offset?: number;
readonly className?: string;
} & LayoutBasedProps &
- Pick<
+ Omit<
SequencePropsWithoutDuration,
- | 'name'
- | 'showInTimeline'
- | 'freeze'
- | 'hidden'
- | 'trimBefore'
- | 'playbackRate'
- | 'cropLeft'
- | 'cropRight'
- | 'cropTop'
- | 'cropBottom'
+ // Series determines the start frame and does not support looping.
+ | 'from'
+ | 'loop'
+ | `_remotionInternal${string}`
+ // Preserve the version-specific layout props above.
+ | keyof AbsoluteFillLayout
>
>;