@@ -104,18 +104,18 @@ render() {
104104 // Can be used with different image object fieldnames.
105105 // Ex. source, source.uri, uri, URI, url, URL
106106 { uri: " https://luehangs.site/pic-chat-app-images/beautiful-blond-blonde-hair-478544.jpg" },
107- { source : require ( " yourApp/image.png " ),
108- // IMPORTANT: It is REQUIRED for LOCAL IMAGES
109- // to include a dimensions field with the
110- // actual width and height of the image or
111- // it will throw an error.
112- dimensions: { width: 1080 , height: 1920 }
113- },
114- { source : require ( " yourApp/image.png " ),
115- // An alternative to the dimensions field .
116- // This will also be acceptable.
117- width: 1080 ,
118- height: 1920 },
107+ // IMPORTANT: It is REQUIRED for LOCAL IMAGES
108+ // to include a dimensions field with the
109+ // actual width and height of the image or
110+ // it will throw an error.
111+ // { source: require("yourApp/image.png"),
112+ // dimensions: { width: 1080, height: 1920 }
113+ // },
114+ // "width" & "height" is an alternative to the dimensions
115+ // field that will also be acceptable .
116+ // { source: require("yourApp/image.png"),
117+ // width: 1080,
118+ // height: 1920 },
119119 { source: { uri: " https://luehangs.site/pic-chat-app-images/beautiful-beautiful-women-beauty-40901.jpg" } },
120120 { uri: " https://luehangs.site/pic-chat-app-images/animals-avian-beach-760984.jpg" ,
121121 // Optional: Adding a dimensions field with
0 commit comments