import { Image, ImageStyle, StyleProp } from "react-native"; import { ImageName } from "../App/common/constants/StringConstant"; export const AppImage: React.FC = ({ imageCode, style }) => { switch (imageCode) { case ImageName.SWW: return ( ); case ImageName.NO_INTERNET: return ( ); case ImageName.CROSS: return ( ); case ImageName.HELP: return ( ); case ImageName.QUOTE_APOLOGY_ICON: return ( ); case ImageName.BACK_ARROW: return ( ); default: return null; } }; interface AppImageProps { imageCode?: string; style?: StyleProp; }