Skip to content

🎥 Make videos programmatically with React

Discard changes to packages/docs/docs/player/premounting.mdx

Jonny Burgercdbc1163df3e
diff --git a/packages/docs/docs/player/premounting.mdx b/packages/docs/docs/player/premounting.mdx
index 609d3ad6ed..a4ef62778a 100644
--- a/packages/docs/docs/player/premounting.mdx
+++ b/packages/docs/docs/player/premounting.mdx
@@ -108,6 +108,7 @@ const PremountedSequenceRefForwardingFunction: React.ForwardRefRenderFunction<
return {
...passedStyle,
opacity: active ? 0 : 1,
+ // @ts-expect-error Only in the docs - it will not give a type error in a Remotion project
pointerEvents: active ? 'none' : (passedStyle?.pointerEvents ?? 'auto'),
};
}, [active, passedStyle]);