15 lines
368 B
JavaScript
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);
|