Update README.md
.default argument for iOS
This commit is contained in:
parent
d039d823a5
commit
928321a970
@ -17,7 +17,7 @@ Run `npm install react-native-video --save`
|
||||
.
|
||||
3. Add `.mp4` video file to project and to `Build Phases -> Copy Bundle Resources`
|
||||
4. Whenever you want to use it within React code now you can: `var Video =
|
||||
require('react-native-video');`
|
||||
require('react-native-video').default;`
|
||||
|
||||
#### Android
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user