mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
demo(tag): improve import type DragEndEvent for dnd-kit (#50615)
This commit is contained in:
parent
911ea14ec0
commit
df933e94ef
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user