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

fix: add children to the DraggableCoreProps #648

Merged
merged 1 commit into from Apr 26, 2022

Conversation

SebastiaanNijland
Copy link
Contributor

This should fix #647

@hasparus
Copy link

Until this PR is merged, the following code can serve as a workaround

import Draggable from "react-draggable";

declare module "react-draggable" {
  export interface DraggableProps {
    children: React.ReactNode;
  }
}

mkorpela added a commit to MarketSquare/robotframework-browser that referenced this pull request Apr 18, 2022
@avdaredevil
Copy link

@STRML could we get this merged soon?

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

Successfully merging this pull request may close these issues.

Incompatible with @types/react v18.x due to removal of children from FC and Component types
4 participants