import { observer } from 'mobx-react-lite';
function _MultiCollectionBulkActionToolbar(props) {
    const { state, bulkActionToolbar } = props;
    const { bulk } = state;
    const { allSelected, clearSelection, modals: { openModal, closeModal, openConfirmModal, isModalOpen }, } = bulk;
    return bulkActionToolbar({
        isModalOpen,
        allSelected,
        openModal,
        closeModal,
        openConfirmModal,
        clearSelection,
    });
}
export const MultiCollectionBulkActionToolbar = observer(_MultiCollectionBulkActionToolbar);
//# sourceMappingURL=MultiCollectionBulkActionToolbar.js.map