Skip to content

Commit

Permalink
Fix image source prop uri in unversioned docs too
Browse files Browse the repository at this point in the history
  • Loading branch information
thejimmyg committed Feb 11, 2020
1 parent f8a2864 commit de00604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/versions/unversioned/tutorial/image.md
Expand Up @@ -103,7 +103,7 @@ import { Image, StyleSheet, Text, View } from 'react-native';
export default function App() {
return (
<View style={styles.container}>
<Image source="https://i.imgur.com/TkIrScD.png" /* @info See below for the styles! */ style={styles.logo} /* @end *//>
<Image source={{ uri: "https://i.imgur.com/TkIrScD.png" }} /* @info See below for the styles! */ style={styles.logo} /* @end *//>

<Text /* @info See below for the styles! */ style={styles.instructions} /* @end */>
To share a photo from your phone with a friend, just press the button below!
Expand Down

0 comments on commit de00604

Please sign in to comment.