Skip to content

Commit 168ebd7

Browse files
committed
Update example
1 parent 148fd49 commit 168ebd7

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

example/App.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@ export default class App extends Component {
215215
isVisible={isImageViewVisible}
216216
renderFooter={this.renderFooter}
217217
onClose={() => this.setState({isImageViewVisible: false})}
218-
onChange={imageIndex => {
219-
console.log(imageIndex);
218+
onImageChange={index => {
219+
console.log(index);
220220
}}
221221
/>
222222
</View>

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"expo": "^33.0.3",
66
"react": "16.8.6",
77
"react-native": "https://github.com/expo/react-native/archive/sdk-33.0.0.tar.gz",
8-
"react-native-image-view": "2.1.1"
8+
"react-native-image-view": "^2.1.5"
99
},
1010
"devDependencies": {
1111
"babel-eslint": "10.0.1",

0 commit comments

Comments
 (0)