🎥 Make videos programmatically with React
Update state-management.mdx
JonnyBurger15dd4addd8f8
diff --git a/packages/docs/docs/editor-starter/state-management.mdx b/packages/docs/docs/editor-starter/state-management.mdxindex 117d3c609d..2f2bea9b4f 100644--- a/packages/docs/docs/editor-starter/state-management.mdx+++ b/packages/docs/docs/editor-starter/state-management.mdx@@ -44,8 +44,8 @@ export type EditorState = {selectedItems: string[];textItemEditing: string | null;textItemHoverPreview: TextItemHoverPreview | null;- rendering: RenderState;- captions: CaptionState;+ renderingTasks: RenderingTask[];+ captioningTasks: CaptioningTask[];initialized: boolean;itemsBeingTrimmed: ItemBeingTrimmed[];loop: boolean;@@ -64,8 +64,8 @@ export type EditorState = {- `selectedItems`: An array of item IDs that are currently selected.- `textItemEditing`: The ID of the text item that is currently being edited, if there is one.- `textItemHoverPreview`: Preview updates of a text item (for example if a font is hovered in the font picker, the text will render temporarily with the font hovered).-- `rendering`: The state of the rendering process.-- `captions`: The state of captioning process.+- `renderingTasks`: The state of the rendering process.+- `captioningTasks`: The state of captioning process.- `initialized`: Whether the editor has been initialized, if not initialized, canvas will not be visible.- `itemsBeingTrimmed`: An array of items that are currently being trimmed, to show an indication of the maximum trim that is possible.- `loop`: Whether the playback should loop.