click-to-react-component-intellij
Version:
Option+Click your React components in your browser to open the source file in intellij
16 lines (10 loc) • 339 B
TypeScript
export { ClickToComponent } from './src/ClickToComponent'
export type Editor = 'vscode' | 'vscode-insiders' | 'intellij'
export type ClickToComponentProps = {
editor?: Editor
}
export type Coords = [MouseEvent['pageX'], MouseEvent['pageY']]
export type Target = HTMLElement
export type ContextMenuProps = {
onClose?: () => void
}