Releases: benmneb/mui-image
mui-image v1.0.7
Fixes import to dramatically reduce bundle size by not unnecessarily including @mui/system
.
mui-image v1.0.6
This release fixes a long standing issue that was plaguing next-js usage.
mui-image v1.0.5
This release supports React 18.
This project also now has typescript support via @types/mui-image
mui-image v1.0.0
Breaking changes: The wrapperClass
and iconWrapperClass
props have been changed to wrapperClassName
and iconWrapperClassName
, as they should have been initially.
Changes: To allow to easier custom styling, default classNames have been given to the wrapper div, the image itself and the loading/error icon wrapper div. They are mui-image-wrapper
, mui-image-img
and mui-image-iconWrapper
respectively.
Bug fix: The loading indicator and error icon now work independently of each other, before it was an accidental all-or-nothing situation.