mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
15 lines
262 B
JavaScript
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 ...
|
|
});
|
|
}
|