yapi/client/containers/DevTools/DevTools.js

15 lines
369 B
JavaScript
Raw Normal View History

2017-08-04 12:15:45 +08:00
import React from 'react';
import { createDevTools } from 'redux-devtools';
import LogMonitor from 'redux-devtools-log-monitor';
import DockMonitor from 'redux-devtools-dock-monitor';
2017-08-23 18:24:29 +08:00
2017-08-23 20:41:47 +08:00
module.exports = createDevTools(
<DockMonitor
toggleVisibilityKey="ctrl-h"
changePositionKey="ctrl-q"
defaultIsVisible={false}
>
<LogMonitor />
</DockMonitor>
);