feat: Add TagRemovalZone component and refactor drag-drop for tag management
This commit is contained in:
@@ -5,6 +5,7 @@ import React, {
|
||||
useRef,
|
||||
useEffect,
|
||||
} from 'react';
|
||||
import TagRemovalZone from '../components/TagRemovalZone';
|
||||
import { DocumentsList, DocumentsGrid } from '../DocumentsView';
|
||||
import type { ReactNode } from 'react';
|
||||
import type {
|
||||
@@ -307,6 +308,7 @@ const DocumentsPanelInner: React.FC<DocumentsPanelInnerProps> = (props) => {
|
||||
onBreadcrumbClick={onBreadcrumbNavigate}
|
||||
/>
|
||||
<div className="documents-panel-wrapper">
|
||||
<TagRemovalZone />
|
||||
<section
|
||||
ref={scrollRef}
|
||||
className={`documents-panel documents-panel--view-${panelVariant}`}
|
||||
|
||||
Reference in New Issue
Block a user