@replyke/ui-core-react-native
Version:
Replyke: Build interactive apps with social features like comments, votes, feeds, user lists, notifications, and more.
11 lines (10 loc) • 347 B
TypeScript
/**
* Dynamically loads the Image component.
* Tries to require expo-image's Image, and if not found, falls back to React Native's Image.
*
* @returns {Object} An object containing the ImageComponent and a flag indicating if it's expo-image.
*/
export declare const getImageComponent: () => {
ImageComponent: any;
isExpo: boolean;
};