mirror of
https://github.com/morten-olsen/react-native-debug-console.git
synced 2026-02-08 00:36:26 +01:00
moved
This commit is contained in:
9
packages/lib/src/console.js
Normal file
9
packages/lib/src/console.js
Normal file
@@ -0,0 +1,9 @@
|
||||
export const createContext = ({
|
||||
logProvider,
|
||||
}, baseContext = {}) => ({
|
||||
log: (...args) => logProvider.log(...args),
|
||||
clear: logProvider.clear,
|
||||
window: baseContext,
|
||||
global: baseContext,
|
||||
context: baseContext,
|
||||
});
|
||||
Reference in New Issue
Block a user