p5.js-web-editor/client/modules/App/components/DevTools.jsx
2018-05-08 19:16:04 -07:00

15 lines
368 B
JavaScript

import React from 'react';
import { createDevTools } from 'redux-devtools';
import LogMonitor from 'redux-devtools-log-monitor';
import DockMonitor from 'redux-devtools-dock-monitor';
const devTools = (
<DockMonitor
toggleVisibilityKey="ctrl-h"
changePositionKey="ctrl-w"
>
<LogMonitor />
</DockMonitor>
);
export default createDevTools(devTools);