Create professional demos and 3D mockups in seconds, directly in your browser
feat: add text placement tool and related callbacks to VideoCanvasProps
CristianOlivera1ae3046322448
diff --git a/types/editor.types.ts b/types/editor.types.tsindex 9f4f467..3c46870 100644--- a/types/editor.types.ts+++ b/types/editor.types.ts@@ -125,6 +125,10 @@ export interface VideoCanvasProps {onCameraClick?: () => void;// Layers panel customizationlayersPanelToolbar?: React.ReactNode;+ // Text placement tool (Figma-style T key)+ textToolActive?: boolean;+ onTextToolDeactivate?: () => void;+ onAddElement?: (element: CanvasElement) => void;}export async function detectVideoHasAudio(blob: Blob): Promise<boolean> {