18 lines
368 B
TypeScript
18 lines
368 B
TypeScript
import { DragDropContext } from '@hello-pangea/dnd';
|
|
import CardGroup from '../CardGroup/CardGroup';
|
|
|
|
|
|
export default function MainBoard() {
|
|
|
|
const dragEndHandle = (result: TDragResult ) => {
|
|
result
|
|
}
|
|
|
|
return (
|
|
<DragDropContext onDragEnd={dragEndHandle}>
|
|
<CardGroup id='qwhdf' />
|
|
<CardGroup id='123fsduiyuiyi' />
|
|
</DragDropContext>
|
|
);
|
|
}
|