Skip to content

Commit

Permalink
fixup! feat(react-repeater-dnd-kit): allow to set props of DndContext
Browse files Browse the repository at this point in the history
  • Loading branch information
matej21 committed Jul 1, 2024
1 parent 8b8b8d7 commit ef1f97a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React, { ReactNode, useCallback, useMemo, useState } from 'react'
import type { DragStartEvent } from '@dnd-kit/core'
import { closestCenter, DndContext, DndContextProps, DragCancelEvent, DragEndEvent, KeyboardSensor, MeasuringStrategy, MouseSensor, TouchSensor, UniqueIdentifier, useSensor, useSensors } from '@dnd-kit/core'
import { RepeaterActiveEntityContext } from '../contexts'
import { SortableContext, verticalListSortingStrategy } from '@dnd-kit/sortable'
import { useRepeaterMethods, useRepeaterSortedEntities } from '@contember/react-repeater'
import type { DragStartEvent } from '@dnd-kit/core/dist/types'

export const RepeaterSortable = ({ children, onDragStart, onDragEnd: onDragEndIn, onDragCancel: onDragCancelIn, ...props }: {
children: ReactNode
Expand Down

0 comments on commit ef1f97a

Please sign in to comment.