Skip to content

Instantly share code, notes, and snippets.

View wildseansy's full-sized avatar

Sean Holbert wildseansy

View GitHub Profile
@wildseansy
wildseansy / react-native-video-types.ts
Last active July 26, 2023 19:05
React Native Video Types
// This documents most of the types available in react-native-video when rendering a player
// To use these types, can inject as follows
import RNVideo from 'react-native-video';
const Video = RNVideo as unknown as React.JSXElementConstructor<VideoProps>;
// ...Now use 'Video' as your react-native-video component, and you'll get the props.
// these below types were organized in 2020, so there may be new types available now in react-native-video
// The types are below: