react-native-gestures icon indicating copy to clipboard operation
react-native-gestures copied to clipboard

Elemet type is invalid: expected a string(for built in components) or a class/function (for composite components) but got : object

Open SteveIb opened this issue 8 years ago • 5 comments

Hi,

I donwloaded the library and added it, I only added the exmaple to my code, it didn't work. I tried to add only <GestureView/>, but still the same problem.

Elemet type is invalid: expected a string(for built in components) or a class/function (for composite components) but got : object. Check the render method of 'MyProj'.

Regards,

SteveIb avatar Aug 22 '17 10:08 SteveIb

same issue

prerakd avatar Aug 29 '17 10:08 prerakd

same issue Maybe is React.createClass is no longer supported. Use a plain JavaScript class instead. case?

CacaoRick avatar Aug 30 '17 03:08 CacaoRick

+1

luisfuertes avatar Sep 01 '17 07:09 luisfuertes

I am working on a refactor which should fix this issue: https://github.com/kiddkai/react-native-gestures/pull/30

assertchris avatar Sep 04 '17 12:09 assertchris

Hey, Is this one solved Already?

aayushanand99 avatar Sep 14 '17 19:09 aayushanand99