Skip to content

🎥 Make videos programmatically with React

Fix HtmlInCanvasMotionBlur public prop type

Jonny Burger07422379eb49
diff --git a/packages/motion-blur/src/HtmlInCanvasMotionBlur.tsx b/packages/motion-blur/src/HtmlInCanvasMotionBlur.tsx
index 63760d04f3..1d46a8b0c8 100644
--- a/packages/motion-blur/src/HtmlInCanvasMotionBlur.tsx
+++ b/packages/motion-blur/src/HtmlInCanvasMotionBlur.tsx
@@ -235,7 +235,10 @@ const HtmlInCanvasMotionBlurInner: React.FC<
* the experimental HTML-in-canvas flag enabled. Nested HtmlInCanvas components
* are currently unsupported.
*/
-export const HtmlInCanvasMotionBlur = Interactive.withSchema({
+export const HtmlInCanvasMotionBlur = Interactive.withSchema<
+ typeof htmlInCanvasMotionBlurSchema,
+ HtmlInCanvasMotionBlurProps
+>({
Component: HtmlInCanvasMotionBlurInner,
componentName: '<HtmlInCanvasMotionBlur>',
componentIdentity: 'dev.remotion.motionBlur.HtmlInCanvasMotionBlur',