Skip to content

Commit f3dc952

Browse files
committed
fix: modified doc
1 parent c712728 commit f3dc952

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.MD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,10 @@ Marker.markImage({
161161
})
162162
})
163163

164-
// you can also use the bundled image for marking
164+
// you can also use the bundled images for marking
165165
Marker.markImage({
166166
src: backGroundUri,
167-
markerSrc: require('./icon.png),
167+
markerSrc: require('./icon.png'),
168168
position: 'topLeft', // topLeft, topCenter,topRight, bottomLeft, bottomCenter , bottomRight, center
169169
scale: 1,
170170
markerScale: 0.5,

example/example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"dependencies": {
1010
"react": "^16.5.0",
1111
"react-native": "^0.57.1",
12-
"react-native-image-marker": "0.3.0",
12+
"react-native-image-marker": "0.3.1",
1313
"react-native-image-picker": "^0.26.7"
1414
},
1515
"devDependencies": {

0 commit comments

Comments
 (0)