mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-21 14:09:34 +01:00
chore: upgrade packages & fix task list
This commit is contained in:
5
packages/editor/dist/extensions/react/useReactNodeView.js
vendored
Normal file
5
packages/editor/dist/extensions/react/useReactNodeView.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { createContext, useContext } from 'react';
|
||||
export var ReactNodeViewContext = createContext({
|
||||
onDragStart: undefined,
|
||||
});
|
||||
export var useReactNodeView = function () { return useContext(ReactNodeViewContext); };
|
||||
Reference in New Issue
Block a user