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

If <BorderShadow> only has one component, how to get rid of the warning "Each child in a list should have a unique 'key' prop"

Open changyu2hao opened this issue 5 years ago • 1 comments

If <BorderShadow> only has one component, how to get rid of the warning "Each child in a list should have a unique 'key' prop"

changyu2hao avatar May 29 '20 19:05 changyu2hao

BorderShadow.js Line25/37,Change: <Svg ...> to <Svg ... key="svg_">

or use my fork: yarn add https://github.com/amingsc/react-native-shadow.git

amingsc avatar Mar 29 '21 03:03 amingsc