Files
react/src/devtools/index.js
T
2019-01-23 08:45:19 -08:00

15 lines
262 B
JavaScript

// @flow
import type { Bridge } from '../types';
type Shell = {|
connect: (callback: Function) => void,
onReload: (reloadFn: Function) => void,
|};
export function initDevTools(shell: Shell) {
shell.connect((bridge: Bridge) => {
// TODO ...
});
}