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 opened this issue · comments
If only has one component, how to get rid of the warning "Each child in a list should have a unique 'key' prop"
BorderShadow.js Line25/37,Change:
<Svg ...>
to
<Svg ... key="svg_">
or use my fork:
yarn add https://github.com/amingsc/react-native-shadow.git