Files
notesnook/packages/editor/dist/extensions/react/useReactNodeView.js

6 lines
221 B
JavaScript
Raw Normal View History

import { createContext, useContext } from 'react';
export var ReactNodeViewContext = createContext({
onDragStart: undefined,
});
export var useReactNodeView = function () { return useContext(ReactNodeViewContext); };