Skip to content

The open alternative to Salesforce, designed for AI.

318 B
Raw Blame
import { createContext } from 'react';

export type DragDropItemDndContextValue = {
  activeDropTargetIndex: number | null;
  activeDroppableId?: string | null;
};

export const DragDropItemDndContext =
  createContext<DragDropItemDndContextValue>({
    activeDropTargetIndex: null,
    activeDroppableId: null,
  });