Include instructions for importing the module
This commit is contained in:
parent
080d1344f1
commit
570339bb3a
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user