docs: add source local file name waring (#3359)

This commit is contained in:
Krzysztof Moch 2023-11-17 15:38:32 +01:00 committed by GitHub
parent 0e23952cea
commit 9f1bf8f913
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -594,6 +594,8 @@ The docs for this prop are incomplete and will be updated as each option is inve
#### Asset loaded via require
> ⚠️ on iOS, you file name must not contain spaces eg. `my video.mp4` will not work, use `my-video.mp4` instead
Example:
```javascript
const sintel = require('./sintel.mp4');