update usage in README

This commit is contained in:
infeng 2016-10-17 18:26:08 +08:00
parent 104ef64873
commit ed109c3b67

View File

@ -17,6 +17,7 @@ npm install react-viewer --save
```javascript
import * as React from 'react';
import Viewer from 'react-viewer';
import 'react-viewer/dist/index.css';
class App extends React.Component<any, any> {
constructor() {