demo(tag): improve import type DragEndEvent for dnd-kit (#50615)

This commit is contained in:
thinkasany 2024-08-28 18:12:02 +08:00 committed by GitHub
parent 911ea14ec0
commit df933e94ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,6 @@
import React, { useState } from 'react';
import { closestCenter, DndContext, PointerSensor, useSensor, useSensors } from '@dnd-kit/core';
import type { DragEndEvent } from '@dnd-kit/core/dist/types/index';
import type { DragEndEvent } from '@dnd-kit/core';
import {
arrayMove,
horizontalListSortingStrategy,