Modal's CloseButtonProps does not accept size
prop
#4793
Labels
Fixed patch
Completed issues that will be published with next patch (1.0.X)
size
prop
#4793
What package has an issue
@mantine/modals
Describe the bug
In Mantine 7, attempting
Throws a TS error claiming that the prop doesn't exist.
The prop exists on
CloseButton
, which in the docs says it's used in modals.If adding
@ts-ignore
I can see that the prop does in fact have an affect:What version of @mantine/* page do you have in package.json? (Note that all @mantine/* packages must have the same version in order to work correctly)
7.0.0
If possible, please include a link to a codesandbox with the reproduced problem
No response
Do you know how to fix the issue
No
Are you willing to participate in fixing this issue and create a pull request with the fix
None
Possible fix
No response
The text was updated successfully, but these errors were encountered: