Is there a way to do something like that in React Native :
<Image source={require("../../../assets/imgList/" + this.props.imgName + ".png")} />
I got this error:
'require' expect exactly 1 string literal argument.
Thank you.
Is there a way to do something like that in React Native :
<Image source={require("../../../assets/imgList/" + this.props.imgName + ".png")} />
I got this error:
'require' expect exactly 1 string literal argument.
Thank you.