Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rnd and react-draggable issue #916

Open
achoud44 opened this issue Nov 28, 2023 · 0 comments
Open

Rnd and react-draggable issue #916

achoud44 opened this issue Nov 28, 2023 · 0 comments

Comments

@achoud44
Copy link

I am using
"react-rnd": "^10.4.1" and
"react-draggable": "^4.4.5"

But having

node_modules/react-draggable/typings/index.d.ts:22:15 - error TS2300: Duplicate identifier 'DraggableEvent'.

22   export type DraggableEvent = React.MouseEvent<HTMLElement | SVGElement>
                 ~~~~~~~~~~~~~~

  node_modules/react-rnd/node_modules/react-draggable/typings/index.d.ts:22:15
    22   export type DraggableEvent = React.MouseEvent<HTMLElement | SVGElement>
                     ~~~~~~~~~~~~~~
    'DraggableEvent' was also declared here.

image (2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant