Kishanjvaghela / react-native-cardview

Native CardView for react-native (All Android version and iOS)
https://www.npmjs.com/package/react-native-cardview
MIT License
510 stars 82 forks source link

Invariant Violation: Text strings must berendered within a <Text> component. #69

Closed Mintnoii closed 4 years ago

Mintnoii commented 4 years ago

Describe the bug Invariant Violation: Text strings must berendered within a component.

  This error is located at:

  in RCTView (at ModuleCard.js:61)

  in RNCardView (at CardView.android.js:46)in CardView (at ModuleCard.js:51)in RCTView (at ModuleCard.js:50)

  in ModuleCard (at TaskSelector.js:28)in RCTView (at TaskSelector.js:23)in TaskSelector (at SceneView.tsx:98)in StaticContainer

  in StaticContainer (at SceneView.tsx:89)in EnsureSingleNavigator (atSceneView.tsx:88)

  in SceneView (at useDescriptors.tsx:125)in RCTView (at CardContainer.tsx:190)in RCTView (at CardContainer.tsx:189)in RCTView (at Card.tsx:515)in RCTView (at

  createAnimatedComponent.js:151)

  in AnimatedComponent (at Card.tsx:498)in PanGestureHandler (at Card.tsx:491)in RCTView (at

  createAnimatedComponent.js:151)

  in AnimatedComponent (at Card.tsx:487)

... To Reproduce Steps to reproduce the behavior:

The steps are the same as the demo in the documentation.

Screenshots image

Smartphone (please complete the following information):

Kishanjvaghela commented 4 years ago

Try to run the example in the demo. It should work. It will be easy to identify if you provide your code. But it looks like its some minor problem. StackOverflow it better ways to solve