react-native-responsive-image-view
Advanced tools
Changelog
3.0.0
#239 0490d52
Thanks @wKovacs64! - Update major dev dependencies (react-native 0.78 and React 19) and refactor some internals.
The ResponsiveImageView
component is now a named export instead of the default export. Migrate easily:
-import ResponsiveImageView from 'react-native-responsive-image-view';
+import { ResponsiveImageView } from 'react-native-responsive-image-view';
ResponsiveImageViewProps
is now a type rather than an interface (should only impact you if you were extending it)onLoad
and onError
callbacks anymore if you were doing so previouslyResponsiveImageView
return type changed from React.ReactElement<ResponsiveImageViewProps> | null
to React.JSX.Element | null
which is more accurateUseResponsiveImageViewOptions
type for hook optionsChangelog
2.2.0
9d00c38
Thanks @wKovacs64! - Convert project to TypeScript. Removes the prop-types
peer dependency.