Update README.md

This commit is contained in:
feng zhi hao 2017-10-31 15:03:26 +08:00 committed by GitHub
parent 3a033cd395
commit 3772277b14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ class App extends React.Component<any, any> {
<Viewer
visible={this.state.visible}
onClose={() => { this.setState({ visible: false }); } }
images={[src: '', alt: '']}
images={[{src: '', alt: ''}]}
/>
</div>
);