Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BoxShadow Issue #20

Open
callmejm opened this issue Oct 5, 2017 · 1 comment
Open

BoxShadow Issue #20

callmejm opened this issue Oct 5, 2017 · 1 comment

Comments

@callmejm
Copy link

callmejm commented Oct 5, 2017

I getting this error when try to use BoxShadow in my project.

Warning: Each child in an array or iterator should have a unique "key" prop.
Check the render method of `BorderShadow`. See https://fb.me/react-warning-keys for more information.
in Svg (at BorderShadow.js:35)
in BorderShadow (at index.android.js:334)
in RCTView (at View.js:113)
in View (at index.android.js:333)
in RCTView (at View.js:113)
in View (at CardStack.js:400)
in RCTView (at View.js:113)
in View (at AnimatedImplementation.js:1865)
in AnimatedComponent (at Card.js:28)
in Card (at PointerEventsContainer.js:55)
in Container (at CardStack.js:443)
in RCTView (at View.js:113)
@arcollector
Copy link

arcollector commented Oct 12, 2017

you must set up a key param when you are using a loop that output ReactElements, for example

items.map((item,i) => <View key={i}>{i}</View>)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants