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

Type Error with adding draggable: false to defaultProps for Image #7106

Open
1 of 2 tasks
jared-jewitt opened this issue Nov 10, 2024 · 0 comments
Open
1 of 2 tasks

Comments

@jared-jewitt
Copy link

Dependencies check up

  • I have verified that I use latest version of all @mantine/* packages

What version of @mantine/* packages do you have in package.json?

7.11.2

What package has an issue?

@mantine/core

What framework do you use?

Vite

In which browsers you can reproduce the issue?

Chrome

Describe the bug

I'm getting a type error when trying to set draggable: false as part of the defaultProps for the Image component. It does actually seem to work as intended, however I do have to add a @ts-ignore comment in order to remove the error. Is this intended?

Screenshot 2024-11-09 at 8 40 23 PM

If possible, include a link to a codesandbox with a minimal reproduction

No response

Possible fix

No response

Self-service

  • I would be willing to implement a fix for this issue
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