kfiroo / react-native-cached-image

CachedImage component for react-native
MIT License
940 stars 468 forks source link

invariant violation element type is invalid expected a string (for built-in components) or a class function check the render method of 'CachedImage' #133

Open skokon opened 6 years ago

skokon commented 6 years ago

Hello, I'm trying to display cached image component but im getting this error

invariant violation element type is invalid expected a string (for built-in components) or a class function check the render method of 'CachedImage'

This is screenshot of the error image

sahil6111 commented 5 years ago

@skokon were you able to resolve the issue? i am getting same error.

skokon commented 5 years ago

@sahil611 Hi, i did write the component in wrong way