mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-27 05:30:14 +08:00
15 lines
369 B
JavaScript
Executable File
15 lines
369 B
JavaScript
Executable File
import React from 'react';
|
|
import { createDevTools } from 'redux-devtools';
|
|
import LogMonitor from 'redux-devtools-log-monitor';
|
|
import DockMonitor from 'redux-devtools-dock-monitor';
|
|
|
|
|
|
module.exports = createDevTools(
|
|
<DockMonitor
|
|
toggleVisibilityKey="ctrl-h"
|
|
changePositionKey="ctrl-q"
|
|
defaultIsVisible={false}
|
|
>
|
|
<LogMonitor />
|
|
</DockMonitor>
|
|
); |