React Native (JSX) string replace -
is possible modify string in jsx? instance want search , replace string in image url.
rendermovie: function(movie) { return ( <view style={styles.container}> <image source={{uri: movie.posters.thumbnail}} style={styles.thumbnail} /> <view style={styles.rightcontainer}> <text style={styles.title}>{movie.title}</text> <text style={styles.year}>{movie.year}</text> </view> </view> );
i want modify url here ( code taken here https://facebook.github.io/react-native/docs/tutorial.html#content)
movie.posters.thumbnail
Comments
Post a Comment