Skip to content

🎥 Make videos programmatically with React

Docs: Use slider for tear progress demo

Igor Samokhovets801684341a76
diff --git a/packages/docs/components/effects-demos/registry.ts b/packages/docs/components/effects-demos/registry.ts
index 3bc9abc268..1d70036827 100644
--- a/packages/docs/components/effects-demos/registry.ts
+++ b/packages/docs/components/effects-demos/registry.ts
@@ -306,7 +306,10 @@ export const effectsDemos: EffectsDemoType[] = [
effectName: 'tear',
effectImportPath: '@remotion/effects/tear',
comp: EffectsTearPreview,
- schema: tear().definition.schema,
+ schema: {
+ ...tear().definition.schema,
+ progress: {...tear().definition.schema.progress, max: 2},
+ },
},
{
...defaults,