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