yapi/client/containers/DevTools/DevTools.js

15 lines
367 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';
export default createDevTools(
2017-08-07 19:34:34 +08:00
<DockMonitor
2017-08-04 17:47:31 +08:00
toggleVisibilityKey="ctrl-h"
changePositionKey="ctrl-q"
defaultIsVisible={false}
>
2017-08-07 19:34:34 +08:00
<LogMonitor />
</DockMonitor>
2017-08-04 12:15:45 +08:00
);