You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does anyone know if this is a bug. Definiting defaultProps BEFORE id seems to give this error in the Studio:
Can't save default props: No `defaultProps` prop found in the <Composition/> tag with the ID "HelloWorld"..
// Root.tsx > RemotionRoot component<>
// ✅ this works
<Compositionid="HelloWorld"defaultProps={{titleText: "Welcome to Remotion"}}/>
// ❌ not working because defaultProps are BEFORE id
<CompositiondefaultProps={{titleText: "Welcome to Remotion"}}id="HelloWorld"/></>
I'm just starting with Remotion so maybe im missing something.
The text was updated successfully, but these errors were encountered:
From message posted on Discord by d3ch0
Does anyone know if this is a bug. Definiting
defaultProps
BEFOREid
seems to give this error in the Studio:I'm just starting with Remotion so maybe im missing something.
The text was updated successfully, but these errors were encountered: