You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are you willing to participate in fixing this issue and create a pull request with the fix
None
Possible fix
I think it's due to HoverCardProps extends PopoverBaseProps but PopoverProps has styles prop. Maybe we can extend PopoverProps or add missing props in HoverCardProps. If the fix is simple, I will be happy to raise a PR.
The text was updated successfully, but these errors were encountered:
What package has an issue
@mantine/core
Describe the bug
Basically the title. Unable to pass
styles
orsx
prop to Hovercard since TypeScript throws the following error:Using
@ts-ignore
temporarily solves the issue. The styles does apply, its just that TypeScript throws the error.Same thing with
sx
prop.What version of @mantine/hooks page do you have in package.json?
5.9.5
If possible, please include a link to a codesandbox with the reproduced problem
https://codesandbox.io/s/wandering-hooks-d71k9u?file=/src/App.tsx
Do you know how to fix the issue
None
Are you willing to participate in fixing this issue and create a pull request with the fix
None
Possible fix
I think it's due to
HoverCardProps
extendsPopoverBaseProps
butPopoverProps
hasstyles
prop. Maybe we can extendPopoverProps
or add missing props inHoverCardProps
. If the fix is simple, I will be happy to raise a PR.The text was updated successfully, but these errors were encountered: