davidohayon669/react-native-youtube

Wrong typedefinition for controls prop

Opened this issue · 0 comments

Summary

The documentation mentions controls prop to accept values 0 | 1 | 2 while type definitions suggest 1 | 2 | 3. The correct values should be as mentioned in docs. Thus, the typedefinitions for controls need to be updated.

Docs

image

Code

controls?: 1 | 2 | 3;