We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
<Image />
imageProps
@mantine/core
imageProps prop overrides everything you setup before
<Image src={url} height={250} // 馃憟 width={250} // 馃憟 styles={{ image: { objectFit: 'cover', // 馃憟 } }} imageProps={{ style: { border: '5px tomato solid' } }} />
6.0.4
https://codesandbox.io/s/nostalgic-herschel-t1jvpo
Yes
why not deep-merge the styles?
The text was updated successfully, but these errors were encountered:
[@mantine/core] Image: Fix imageProps overrding component props (#3985)
b0954d8
Fixed in 6.0.6
Sorry, something went wrong.
No branches or pull requests
What package has an issue
@mantine/core
Describe the bug
imageProps
prop overrides everything you setup beforeWhat version of @mantine/hooks page do you have in package.json?
6.0.4
If possible, please include a link to a codesandbox with the reproduced problem
https://codesandbox.io/s/nostalgic-herschel-t1jvpo
Do you know how to fix the issue
Yes
Are you willing to participate in fixing this issue and create a pull request with the fix
Yes
Possible fix
why not deep-merge the styles?
The text was updated successfully, but these errors were encountered: