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

16 lines
368 B
React
Raw Normal View History

2016-06-22 22:36:04 +00: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 00:43:31 +00:00
const devTools = (
<DockMonitor
toggleVisibilityKey="ctrl-h"
changePositionKey="ctrl-w"
>
<LogMonitor />
</DockMonitor>
);
export default createDevTools(devTools);