import React from 'react'; import {AbsoluteFill, Sequence, interpolate, useCurrentFrame} from 'remotion'; const panelStyle: React.CSSProperties = { position: 'relative', minWidth: 0, minHeight: 0, border: '2px solid rgba(255, 255, 255, 0.16)', borderRadius: 24, backgroundColor: '#111827', perspective: 900, }; const labelStyle: React.CSSProperties = { position: 'absolute', left: 20, top: 16, zIndex: 1, fontFamily: 'Arial, sans-serif', fontSize: 24, fontWeight: 700, color: 'white', pointerEvents: 'none', }; const hintStyle: React.CSSProperties = { position: 'absolute', left: 20, bottom: 16, zIndex: 1, fontFamily: 'Arial, sans-serif', fontSize: 16, color: 'rgba(255, 255, 255, 0.68)', pointerEvents: 'none', }; const CropContent: React.FC<{ readonly color: string; readonly text: string; }> = ({color, text}) => { return ( {text} ); }; export const SequenceCropTest: React.FC = () => { const frame = useCurrentFrame(); return ( Sequence crop controls Select a named Sequence in the timeline and edit its crop controls. Static crop All four fields are editable Animated crop Scrub frames 0–119 Overlapping crop 0.6 + 0.6 collapses at the center line Perspective crop Select it to inspect the projected outline ); };