Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/andrioid/dnd-prototype. Very slim React wrapper for drag-and-drop, uses touch polyfill
Something went wrong. Try again.
1234567891011import { createContext } from "react";import { Task } from "./task-card";
export const TasksContext = createContext< | { tasks: Array<Task>; setTasks: React.Dispatch<React.SetStateAction<Array<Task>>>; } | undefined>(undefined);