Include instructions for importing the module

This commit is contained in:
Hampton Maxwell 2018-07-24 14:29:18 -07:00
parent 080d1344f1
commit 570339bb3a

View File

@ -180,6 +180,10 @@ using System.Collections.Generic;
## Usage ## Usage
```javascript ```javascript
// Load the module
import Video from 'react-native-video';
// Within your render function, assuming you have a file called // Within your render function, assuming you have a file called
// "background.mp4" in your project. You can include multiple videos // "background.mp4" in your project. You can include multiple videos
// on a single screen if you like. // on a single screen if you like.