Skip to content

OpenReel Video - Professional browser-based video editor. Open source CapCut alternative. 100% browser-based, no installation, no cloud uploads, no watermarks.

TypeScript
355 B
Raw Blame
import { create } from "zustand";

interface SceneDetectionDialogState {
  clipId: string | null;
  open: (clipId: string) => void;
  close: () => void;
}

export const useSceneDetectionDialogStore = create<SceneDetectionDialogState>(
  (set) => ({
    clipId: null,
    open: (clipId) => set({ clipId }),
    close: () => set({ clipId: null }),
  }),
);