mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-11 22:51:05 +00:00
11 lines
No EOL
277 B
TypeScript
11 lines
No EOL
277 B
TypeScript
import { createContext } from 'react';
|
|
|
|
export interface DragContextType {
|
|
isDraggingOver: boolean;
|
|
setIsDraggingOver: React.Dispatch<React.SetStateAction<boolean>>;
|
|
}
|
|
|
|
|
|
const DragContext = createContext<DragContextType | undefined>(undefined);
|
|
|
|
export default DragContext; |