Closed johncblandii closed 6 years ago
@lucasbento, I took some liberties with code structure, etc. Feel free to command some changes in that area.
It seems to work as expected in Expo:
No prob on contributing. I didn't want to refactor for multiple providers without tests to validate functionality.
@johncblandii: can you fix the conflicts with src/index.js
? I think we can it merged after that! 🎉
Since it had changes in index
I had to merge across the files. The tests seemed to validate the functionality. I updated the tests to validate the new props since that broke the tests (yayyyyy...tests FTW; 😃 ).
Let me know your thoughts.
Feature
Needs tests before refactoring to support multiple video providers.
Solution
Thumbnail
component with snapshots and basic verification of staticsonPress
Resolves https://github.com/lucasbento/react-native-thumbnail-video/issues/4.
Notes
React and React Native were added as dependencies. I'm sure those versions need to change or be a bit loose. @lucasbento, looking for direction here.