Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

574 B
Raw Blame
import type { FolderProcessingSetupProps } from "@editor-core/components/policies/FolderProcessingSetup";
import { ProcessingFolderSetupFlow } from "@editor/components/policies/ProcessingFolderSetupFlow";

export type { FolderProcessingSetupProps };

/** Existing-folder entry skips destination selection and preserves saved processing. */
export function FolderProcessingSetup({
  folder,
  onClose,
}: FolderProcessingSetupProps) {
  return folder ? (
    <ProcessingFolderSetupFlow
      key={folder.id}
      folder={folder}
      onClose={onClose}
    />
  ) : null;
}