refactor(app): folder structure, components cleanup

This commit is contained in:
moklick
2019-10-06 19:01:02 +02:00
parent 845bae284f
commit cc2775dd78
25 changed files with 822 additions and 981 deletions
+9
View File
@@ -0,0 +1,9 @@
import { createContext } from 'react';
export const NodeIdContext = createContext(null);
export const Provider = NodeIdContext.Provider;
export const Consumer = NodeIdContext.Consumer;
Provider.displayName = 'NodeIdProvider';
export default NodeIdContext;