mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 11:47:54 +01:00
6 lines
221 B
JavaScript
6 lines
221 B
JavaScript
import { createContext, useContext } from 'react';
|
|
export var ReactNodeViewContext = createContext({
|
|
onDragStart: undefined,
|
|
});
|
|
export var useReactNodeView = function () { return useContext(ReactNodeViewContext); };
|