import { IlNotesIcon } from '@standardnotes/icons' import { observer } from 'mobx-react-lite' import Button from '../Button/Button' import { useCallback } from 'react' import FileOptionsPanel from '../FileContextMenu/FileOptionsPanel' import { FilesController } from '@/Controllers/FilesController' import { SelectedItemsController } from '@/Controllers/SelectedItemsController' import { WebApplication } from '@/Application/Application' import { FeaturesController } from '@/Controllers/FeaturesController' import { FilePreviewModalController } from '@/Controllers/FilePreviewModalController' import { NavigationController } from '@/Controllers/Navigation/NavigationController' import { NotesController } from '@/Controllers/NotesController' import AttachedFilesButton from '../AttachedFilesPopover/AttachedFilesButton' type Props = { application: WebApplication featuresController: FeaturesController filePreviewModalController: FilePreviewModalController filesController: FilesController navigationController: NavigationController notesController: NotesController selectionController: SelectedItemsController } const MultipleSelectedFiles = ({ application, filesController, featuresController, filePreviewModalController, navigationController, notesController, selectionController, }: Props) => { const count = selectionController.selectedFilesCount const cancelMultipleSelection = useCallback(() => { selectionController.cancelMultipleSelection() }, [selectionController]) return (
Actions will be performed on all selected files.