p5.js-web-editor/client/modules/App/components/DevTools.jsx

16 lines
368 B
React
Raw Normal View History

2016-06-23 00:36:04 +02:00
import React from 'react';
import { createDevTools } from 'redux-devtools';
import LogMonitor from 'redux-devtools-log-monitor';
import DockMonitor from 'redux-devtools-dock-monitor';
2018-05-05 02:43:31 +02:00
const devTools = (
<DockMonitor
toggleVisibilityKey="ctrl-h"
changePositionKey="ctrl-w"
>
<LogMonitor />
</DockMonitor>
);
export default createDevTools(devTools);