Open rawsly opened 4 years ago
Giving this error while using BorderShadow that is wrapping a View. Code:
`
</BorderShadow>`
where 'feedShadow' is: const feedShadow = { width: screenWidth - 40, color: COLORS.BLACK, border: 10, opacity: 0.1, side: 'top', inset: false };
const feedShadow = { width: screenWidth - 40, color: COLORS.BLACK, border: 10, opacity: 0.1, side: 'top', inset: false };
The error points last line of this code:
`return [ <Svg height={lineWidth} width={width+lineWidth} style={{position:"absolute",top:(inset?0:-lineWidth)}}>
<Rect x={0} y={0} width={width} height={lineWidth} fill={`url(#top${inset?"-inset":""})`} /> </Svg>, ...children ]`
There is a temporary solution for this
how to set the key to this array?
Giving this error while using BorderShadow that is wrapping a View. Code:
`
where 'feedShadow' is:
const feedShadow = { width: screenWidth - 40, color: COLORS.BLACK, border: 10, opacity: 0.1, side: 'top', inset: false };
The error points last line of this code:
`return [ <Svg height={lineWidth} width={width+lineWidth} style={{position:"absolute",top:(inset?0:-lineWidth)}}>