We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0b16bd commit 784c6d4Copy full SHA for 784c6d4
src/utils.ts
@@ -1,7 +1,7 @@
1
import { Children, cloneElement, ReactElement, ReactNode } from 'react';
2
3
-import { MenuItemExternalProps } from 'components/MenuItem';
4
-import { Position } from 'types';
+import { MenuItemExternalProps } from './components/MenuItem';
+import { Position } from './types';
5
6
export const getCursorPosition = (e: MouseEvent): Position => {
7
const position = { x: e.clientX, y: e.clientY };
0 commit comments