-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
onPointerEnterCapture Errors #215
Comments
Just did some additional investigating and I do not see either of those attributes defined in (which is why those types come up as untyped required attributes) But how has no one else run into this issue? |
Last thing, wouldn't it be better to structure type IconType = React.ForwardRefExoticComponent<
Omit<React.SVGProps<SVGSVGElement>, 'title' | 'color' | 'size'> & {
title?: string;
color?: string;
size?: string | number;
} & React.RefAttributes<SVGSVGElement>
>; |
Hello everyone, I've submitted a PR #216 that aims to resolve the type error issue highlighted in issue #215 by removing the onPointerEnterCapture and onPointerLeaveCapture from the type declarations, syncing with the recent updates to React's type definitions. I would greatly appreciate any feedback or suggestions on this solution. Thank you for your time and looking forward to any further discussion! |
This is only an issue for For a workaround you can downgrade to |
solved #216 |
I am getting errors from the
IconType
statingonPointerEnterCapture
andonPointerLeaveCapture
are missing. But when I try to add an empty handler I receive DOM errors:My default is to always assume I am doing something wrong... ?
But this is really weird, anyone seen this before?
The text was updated successfully, but these errors were encountered: