react-dev-inspector
Version:
dev-tool for inspect react components and jump to local IDE for component code.
9 lines (8 loc) • 349 B
TypeScript
/**
* mirror from https://github.com/facebook/react/blob/v16.13.1/packages/react-devtools-shared/src/backend/views/Highlighter/index.js
*/
export type StopFunction = () => void;
export declare function setupHighlighter(handlers: {
onPointerOver?: (element: HTMLElement) => void;
onClick?: (element: HTMLElement) => void;
}): StopFunction;