mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-18 12:47:50 +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); };
|