import { AlertDialog, AlertDialogContent, AlertDialogHeader, AlertDialogTitle, AlertDialogDescription, AlertDialogFooter, AlertDialogCancel, } from '../../basic/alert-dialog' export interface FolderPermissionDialogProps { open: boolean onOpenChange: (open: boolean) => void projectName: string onAllowOnce: () => void onAllowAlways: () => void } export function FolderPermissionDialog({ open, onOpenChange, projectName, onAllowOnce, onAllowAlways, }: FolderPermissionDialogProps) { return ( Allow Spark Design to access and modify files in "{projectName}"? This permission applies to all files and subfolders in this directory. Spark Design may read, update, and permanently delete files here, and may share relevant file contents with connected tools when needed. Only allow access to folders you trust. Cancel ) } FolderPermissionDialog.displayName = 'FolderPermissionDialog'