Skip to content

The open alternative to Salesforce, designed for AI.

274 B
Raw Blame
import { DND_KIT_DROP_TARGET_ID_SEPARATOR } from '@/navigation-menu-item/common/constants/DndKitDropTargetIdSeparator';

export const getDndKitDropTargetId = (
  droppableId: string,
  index: number,
): string => `${droppableId}${DND_KIT_DROP_TARGET_ID_SEPARATOR}${index}`;